Commit Graph

14550 Commits

Author SHA1 Message Date
Laurent Destailleur
90f49fbd83 Try more complete fix for #31117 2024-09-28 13:05:24 +02:00
MDW
0da4d51003 Qual: Fix multiple phan notifications (#31151)
* Qual: Fix notifications multiple files

# Qual: Fix notifications multiple files

Fixes to files with UnknownObject notices, fixing other
notices in these files as well

* Improve boxes typing

* Qual: Extend accepted types to reduce notices

* Fix type for GET/POST arguments of GETPOST* calls
2024-09-28 12:09:35 +02:00
Frédéric FRANCE
752eaea64e fix phpstan (#31161)
* fix phpstan

* fix phpstan
2024-09-28 11:16:05 +02:00
Frédéric FRANCE
affdfd304f rename get_allprev_progress to getAllPrevProgress (#30077)
* fix phpstan

* fix phpstan

* add token

* fix

* add replace

* Update facture.class.php

* Update factureligne.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-28 11:10:57 +02:00
daraelmin
73c2c2bdcc NEW hidden option MAIN_TE_PRIVATE_FIRST_AND_LASTNAME_TO_UPPER (#31143)
* NEW hidden option MAIN_TE_PRIVATE_FIRST_AND_LASTNAME_TO_UPPER

Hidden option to force the formatting of third-party “natural person” names as follows: First Name LAST NAME

* FIX Tabs must be used to indent lines; spaces are not allowed
2024-09-27 01:45:01 +02:00
Laurent Destailleur
71eae9f5f5 Merge branch 'develop' into MathildeMar-patch-1 2024-09-27 01:05:12 +02:00
MDW
c62e015410 Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl (#31087)
# Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl

Fix phan notices in these files

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 23:01:02 +02:00
Laurent Destailleur
fbc5dd4822 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-26 19:36:09 +02:00
Laurent Destailleur
f3c4686805 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-26 19:22:30 +02:00
Laurent Destailleur
cc80841a2e Complete #31031 2024-09-26 18:00:37 +02:00
Nicolas Domenech
63c775c614 Fix: PHP 8 warning on showOptionals on extrafields type int (#31139) 2024-09-26 16:08:59 +02:00
Laurent Destailleur
a61fba7e53 FIX Protection to avoid an extrafield to be mandatory if computed 2024-09-26 13:28:15 +02:00
Laurent Destailleur
d77eca294f FIX Protection to avoid an extrafield to be mandatory if computed 2024-09-26 13:26:54 +02:00
Laurent Destailleur
c0a63855f3 QUAL: Edition of currency is shared in a common tpl file 2024-09-26 12:22:03 +02:00
Laurent Destailleur
ae2ceccc5b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-26 03:44:09 +02:00
Laurent Destailleur
9dc1c6f8f4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-26 03:38:49 +02:00
Laurent Destailleur
b1a235b810 Prepare code to allow ECM access to externale users 2024-09-26 02:36:36 +02:00
Noé Cendrier
22729516fe NEW Add mode Customer price + level price (#31091)
* NEW: customer price and level price together

* NEW: translation

* FIX: If a price per customer exist

* FIX: do not use default price if the customer price and level price option is active

* Don't display the price level amount if the customer price is known

* FIX: double check and php cs correction

* FIX: vatrate call

* FIX: get_htmloutput_msg call

---------

Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
2024-09-25 23:18:16 +02:00
lvessiller-opendsi
e4a93da82e FIX mysql error during dump for enable sandbox M999999 (#31116) 2024-09-25 22:54:31 +02:00
Regis Houssin
28df02f039 FIX avoid odt errors (#31126) 2024-09-25 22:52:25 +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
Frédéric FRANCE
4b4d629b71 fix phan for branch 20.0 (#31105)
* fix phan

* Update card.php

* Update card.php

* Update main.lang

* Update card.php

* Update card.php
2024-09-25 22:17:40 +02:00
Laurent Destailleur
e0e0b669a9 FIX edit contract of intervention broken by CSRF protection 2024-09-25 19:37:32 +02:00
Laurent Destailleur
336b723ab8 FIX edit contract of intervention broken by CSRF protection 2024-09-25 19:37:01 +02:00
Laurent Destailleur
ae6e35cc84 Look and feel v21 enhancement on smartphone 2024-09-25 02:35:56 +02:00
Laurent Destailleur
cc95331fc6 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-23 22:09:24 +02:00
Laurent Destailleur
7b5c4b2e99 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-23 21:57:16 +02:00
Laurent Destailleur
c10e968600 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-23 21:52:08 +02:00
Laurent Destailleur
2f773e9326 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-09-23 21:45:03 +02:00
Frédéric FRANCE
a82410706c fix phpstan (#31088)
* fix phpstan

* fix phpstan
2024-09-23 15:01:02 +02:00
Laurent Destailleur
eee62347af Fix CSS 2024-09-23 14:19:51 +02:00
Laurent Destailleur
dcc8bc9936 Fix CSS 2024-09-23 14:10:24 +02:00
Laurent Destailleur
50fba3e99e Fix log level 2024-09-23 13:54:48 +02:00
Laurent Destailleur
f0824ebeac Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-23 13:06:56 +02:00
Laurent Destailleur
6a6b97dc92 Fix CSS 2024-09-23 12:46:29 +02:00
MDW
5e02bec9df Qual: Fix getTooltipContentArray typing hints (#31081)
* Qual: Fix getTooltipContentArray typing hints

# Qual: Fix getTooltipContentArray typing hints

This defines the aray type for all getTooltipContentArray occurences

* Ignore undeclared property ref_supplier (does not exist on OrderLine)
2024-09-23 03:24:19 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
MDW
7b4c4d772c Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related (#31086)
* Qual: Fix Array of tabs typing hints

# Qual: Fix Array of tabs typing hints

Fixed same typing hints accross several files

* Qual: Fix pdf.lib.php, project.lib.php and related files

# Qual: Fix pdf.lib.php, project.lib.php and related files

Fix most phan notices for pdf.lib.php and project.lib.php.
And fixed some items in other files in the process

* Qual: Fix notifications commande/card advtarget.tpl fichinter/card societe/card supplier_proposal/card

* Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related

# Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related

Fix notices in the files for the classes above and other files to accomodate
these changes/fixes
2024-09-23 00:37:30 +02:00
HENRY Florian
61c5a61623 fix: better error reporting in CMailFile (#31058) 2024-09-20 17:46:52 +02:00
Laurent Destailleur
55383bbf62 Fix phan 2024-09-20 17:34:48 +02:00
MathildeMar
72cf841677 Check that the method fetch_thirdparty() exists 2024-09-20 11:06:24 +02:00
Laurent Destailleur
84e5f5e7b4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-20 02:51:59 +02:00
Laurent Destailleur
401c9898bb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-20 02:46:03 +02:00
Laurent Destailleur
87adbbb769 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-20 02:39:55 +02:00
Frédéric FRANCE
aaa3c8336e fix phpstan (#31006)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:20:33 +02:00
Frédéric FRANCE
32a85608f6 fix phpstan (#31010)
* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:18:08 +02:00
John BOTELLA
786ae29440 Add hidden conf PRODUCT_SEARCH_AUTO_SELECT_IF_ONLY_ONE (#31032) 2024-09-20 01:51:13 +02:00
Frédéric FRANCE
82f947effe fix phpstan (#31030)
* fix phpstan

* fix phpstan
2024-09-20 00:32:44 +02:00
Laurent Destailleur
c340c34aeb FIX Hide a feature that is a security vulnerability. 2024-09-20 00:19:36 +02:00