Commit graph

135 commits

Author SHA1 Message Date
Frédéric FRANCE
a02658b709
FIX: Translate French code comments to English in commande, contrat and datapolicy modules 2026-06-28 13:15:24 +02:00
Laurent Destailleur
e4048515da Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-06-22 13:31:11 +02:00
Laurent Destailleur
ee8933f3ec Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-06-22 13:23:05 +02:00
lvessiller-opendsi
e4cbeb123c
FIX search billed in order line list (#38854) 2026-06-22 03:45:52 +02:00
Laurent Destailleur
dc3f3e15e8 Merge 2026-06-12 19:25:23 +02:00
w3houde
8570171d9d
Fix #36883 align note column gates with MAIN_LIST_HIDE_* constants (#38739)
The constants MAIN_LIST_ALLOW_PUBLIC_NOTES / MAIN_LIST_ALLOW_PRIVATE_NOTES
were renamed to MAIN_LIST_HIDE_PUBLIC_NOTES / MAIN_LIST_HIDE_PRIVATE_NOTES
in the 16.0.0 to 17.0.0 migration, but four sites still referenced the
old names (expedition/list.php lines 160-161, commande/list_det.php lines
232-233). With the constants only present under their new names the
expression !getDolGlobalString('MAIN_LIST_ALLOW_*') always returns true,
so the note columns showed up regardless of admin intent and disagreed
with the other lists (`contrat`, `commande/list.php`, `fourn/commande`,
`fourn/facture`, ...) which already use the HIDE names.

Switch both files to the HIDE constants so the four legacy sites match
the rest of the codebase and respect the same admin flag.

Signed-off-by: Dolicraft <contact@dolicraft.com>
Co-authored-by: Dolicraft <contact@dolicraft.com>
2026-06-12 16:45:00 +02:00
Laurent Destailleur
b116273033 Clean code 2026-04-23 17:41:15 +02:00
Frédéric FRANCE
88d9d1301f
clean code (#37953)
* clean code

* clean code

* clean code
2026-04-21 13:31:24 +02:00
Laurent Destailleur
8012822e81 Clean code. Must use USF everywhere. 2026-04-03 21:20:59 +02:00
Frédéric FRANCE
17aebfb4ca
remove duplicate code (#37730) 2026-04-03 18:45:31 +02:00
Laurent Destailleur
386883408d Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-23 23:59:02 +01:00
atm-jonathan
5e27e2e1d1
fix Fatal error: Uncaught Error: Call to a member function formSelectWarehouses() (#37584) 2026-03-23 14:27:37 +01:00
atm-jonathan
f00da89480
separate new and conf condition (#37547)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-20 18:03:18 +01:00
Laurent Destailleur
84c1b0af4f CI 2026-03-20 16:41:07 +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
ldestailleur
62760d6195 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-03 14:05:58 +01:00
jonathan-stimactiv
6333f32c9c
FIX: #35922 Lines of orders - Status filter unexpected beahavior (#35924) 2025-10-25 23:08:33 +02:00
noec764
8aabe1efb7
Fix load all line unecessary (#35783)
* FIX: Unecessary load of all order lines

* FIX: Unecessary load of all order lines

* FIX: Tabs indent instead of space

---------

Co-authored-by: Noé <noe@scopen.fr>
2025-10-21 02:16:49 +02:00
ldestailleur
910b1bf494 Debug v22 2025-07-21 15:50:27 +02:00
ldestailleur
0ae1f2fb9d Fix CI 2025-06-18 16:53:20 +02:00
ldestailleur
65bb64e9cd Fix CI 2025-06-18 16:24:37 +02:00
ldestailleur
06a5b4947d Fix CI 2025-06-18 15:59:28 +02:00
ldestailleur
253c93f7c1 Debug v22 2025-06-16 23:33:11 +02:00
Frédéric FRANCE
de763b4b43
clean code of order (#33880)
* clean code of order

* clean code of order

* clean code of order

* clean code of order
2025-04-16 21:09:45 +02:00
MDW
0cc1aa6d80
Qual: Fix phan notices (asset..compta/paiement) (#33484)
* Qual: Fix phan notices (accountancy, adherents)

* Qual: Fix phan notices (admin)

* Qual: Fix phan notices (asset..compta/paiement)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-16 20:45:04 +01:00
MDW
4096d0ee2f
Qual: Fix phan notices for commande 2025-03-05 12:15:14 +01:00
Laurent Destailleur
89d380db67 Fix description 2026-01-15 03:12:15 +01:00
Laurent Destailleur
64f966eddf Debug v23 2025-12-09 21:14:03 +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
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
Laurent Destailleur
cd2f4bb7d2 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-24 19:46:38 +02:00
Frédéric FRANCE
29b3880e6c
add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
ldestailleur
6ed764bedf Clean code 2025-09-18 11:40:56 +02:00
ldestailleur
92ffba11ca Remove old lang files that are too small (moved into other lang files) 2025-09-11 13:31:34 +02:00
ldestailleur
80999ed6fd QUAL: Clean/Standardize hook response of hook printFieldListHaving 2025-08-04 14:57:44 +02:00
Laurent Destailleur
82098594a6 Fix warning 2025-07-31 22:13:45 +02:00
Laurent Destailleur (aka Eldy)
4253fa54ec Standardize name of field. 2025-01-05 14:05:50 +01:00
MDW
56dc321665
Qual: Fix phan notices (in order of appearance) (#31768)
* Qual: Fix phan notices (in order of appearance)

* Qual: Fix phan notices (in order of appearance)/2
2024-11-12 00:35:14 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Laurent Destailleur
ffd6611c05 CSS 2024-10-26 14:24:43 +02:00
Laurent Destailleur
6a03453c21 CSS 2024-10-26 13:52:52 +02:00
Laurent Destailleur
a17d26665c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-24 20:08:28 +02:00
Laurent Destailleur
0ed4c9f8e7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-24 19:59:03 +02:00
Frédéric FRANCE
bc06268df6
fix concat and CI 🔧 (#31469)
* fix concat

* fix overwrite

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:20:48 +02:00
Frédéric FRANCE
b0c7b8750a
fix overwritten value (#31470) 2024-10-20 00:10:54 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Laurent Destailleur
b32225283d Merge branch '20.0' of github.com:Dolibarr/dolibarr into develop 2024-09-25 22:32:36 +02:00
Frédéric FRANCE
a94cff63a7
fix phpstan (#31102)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-25 22:21:31 +02:00
Laurent Destailleur
59dadd88a3 FIX Duplicate trigger printFieldPreListTitle 2024-09-25 13:43:11 +02:00