2319 Commits

Author SHA1 Message Date
Laurent Destailleur
b93aacbba2 Fix CI 2026-01-20 17:39:40 +01:00
Laurent Destailleur
e46a31a6ab Code clean 2026-01-08 01:41:55 +01:00
Laurent Destailleur
95d18194f3 NEW Switch default value of nature of a thirdparty. Individual if no
data to guess instead of company by default.
2026-01-08 01:38:32 +01:00
Laurent Destailleur
8abeb47da1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-22 16:06:05 +01:00
Laurent Destailleur
3d55a7a792 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-22 15:11:32 +01:00
Laurent Destailleur
7990b182d1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-12-22 15:04:37 +01:00
Francis Appels
3243126ab6 Fix getOutstandingBills regression from #35266 2025-12-21 16:11:35 +01:00
Laurent Destailleur
c1790d758f Comment 2025-12-13 14:13:30 +01:00
Laurent Destailleur
13e6a7b936 Debug v23 2025-12-05 12:55:20 +01:00
Jon Bendtsen
3d2a826865 FIX #36407 BUG: API POST contact to a non-existing socid gives DB error 2025-12-04 17:09:59 +01:00
Rémi Champlon
e3fbe0943e fix space 2025-11-28 15:40:57 +01:00
Rémi Champlon
7ffb16abef fix space 2025-11-28 15:25:15 +01:00
Rémi Champlon
d43e697a10 implem 2025-11-28 15:14:29 +01:00
Jakub Stříbrný
20cf710caf NEW Add country ID resolution from country code for thirdparty api (#36345)
* NEW Add country ID resolution from country code

NEW Add country ID resolution from country code

* NEW add extrafield support when creating thirdparty via API

NEW add extrafield support when creating thirdparty via API

* Update api_thirdparties.class.php

* remove whitespace at end of line

* remove whitespaces

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 23:56:03 +01:00
Jakub Stříbrný
6c842a1219 NEW Allow creating contact via api with ISO code (#36322)
* Allow creating contact via api with ISO code

Add handling for country code to country ID mapping for api.

* use dol_getIdFromCode

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 11:03:08 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Laurent Destailleur
e96db77fda Look and feel Debug v23 2025-11-18 02:49:47 +01:00
MDW
c39e87d703 Qual: Make $fields covariant, define type for $FIELDS in BankAccounts api (#36188)
* Qual: Make $fields covariant

* Qual: Update BankAccounts class phpDoc ($FIELDS)

# Qual: Update BankAccounts class phpDoc ($FIELDS)

Updated the documentation for the $FIELDS property.
2025-11-09 18:06:58 +01:00
atm-lena
4e67dd3a81 Payment Mode for Thirdparty : Move tinyint to smallint (#36114)
* M

* Update 22.0.0-23.0.0.sql

* Change mode_reglement type from smallint to integer

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-05 22:19:57 +01:00
MDW
b925dd6c37 Qual: Make $fields type covariant (phpstan) (#36084)
# Qual: Make $fields type covariant (phpstan)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:16:17 +01:00
Laurent Destailleur
74cc41c460 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-03 14:27:58 +01:00
Laurent Destailleur
94d1a25d67 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-03 14:10:57 +01:00
Laurent Destailleur
8cd3abb78d Can add a category without removing the others 2025-10-31 04:05:45 +01:00
VIAL-GOUTEYRON Quentin
c616e27274 New Hooks propals/orders (#35989)
* Add hook manager support for appending custom filter clauses across various SQL queries.

* Add hook manager support for custom SQL filters across multiple modules.

* Remove obsolete test code from api_proposals.class.php

* Remove unnecessary blank lines in card.php

* Remove unnecessary blank lines in card.php

* Remove unused object initialization and 'boxcode' parameter in product class

* Update api_proposals.class.php

* Initialize hooks for order API access

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-30 01:51:29 +01:00
Frédéric FRANCE
77a06a6cfd fix CI (#35995)
* Update phpstan-baseline.neon

* Update phpstan-baseline.neon

* Update societe.class.php

* Update societe.class.php
2025-10-29 22:07:14 +01:00
Laurent Destailleur
4fd6894210 Fix capital when value is 0 2025-10-29 14:32:51 +01:00
Frédéric FRANCE
24335dd8c7 fix unicity check for "code_compta_client" (#35951) 2025-10-25 20:39:27 +02:00
Frédéric FRANCE
ed4b7ce58d clean phpstan baseline (#35838)
* clean phpstan baseline

* clean phpstan baseline

* clean phpstan baseline

* fix
2025-10-19 01:58:11 +02:00
ldestailleur
87e8eddb65 Complete label of fields in popup of blocked log detail 2025-10-10 11:49:12 +02:00
ldestailleur
fbfeb5c978 Clean code 2025-10-04 14:12:46 +02:00
Frédéric FRANCE
a90c222f73 clean code (#35626)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 00:07:24 +02:00
ldestailleur
e203684464 Fix ip if '' 2025-10-03 17:29:54 +02:00
ldestailleur
21ff19cec3 Add another way to know if local ta must be used or not. 2025-10-03 15:43:55 +02:00
ldestailleur
dec9d861bf PERF Reduce number of SQL call to get local tax. 2025-10-02 13:50:47 +02:00
Laurent Destailleur
131d1390bc Debug v23 2025-09-28 22:20:44 +02:00
ldestailleur
488b7d88a2 Enhance output for unalterable logs 2025-09-27 15:37:53 +02:00
ldestailleur
a4d9b335ce Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-25 11:53:03 +02:00
Dylan Bourdere
b43524e467 add deprecated properties code_compta to remove some undefined properties warning (#35473) 2025-09-25 11:52:32 +02:00
ldestailleur
4bc5892544 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-24 17:00:53 +02:00
Jean Traullé
5432834836 FIX #35425 (#35426)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-23 23:26:25 +02:00
ldestailleur
761804ce55 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-15 18:14:29 +02:00
ldestailleur
74cc569329 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-15 18:14:11 +02:00
Frédéric FRANCE
21d50f1a58 clean code expedition class (#35327)
* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code
2025-09-15 16:16:22 +02:00
ldestailleur
60f0813520 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-12 23:05:15 +02:00
ldestailleur
20c189b55c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-12 19:28:03 +02:00
ldestailleur
13407fe5ee Prepare code for Loi Finance 2025-09-12 13:29:19 +02:00
Frédéric FRANCE
0e79fa36ee clean code contact class (#35260)
* clean code contact class

* clean code contact class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-11 12:14:53 +02:00
Alexandre SPANGARO
b03c12c129 FIX Societe - Problem of date on outstanding opened late (#35266) 2025-09-09 19:25:09 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
ldestailleur
d7204bbb19 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-04 17:32:58 +02:00