2
0
forked from Wavyzz/dolibarr
Commit Graph

34632 Commits

Author SHA1 Message Date
MDW
21e0bb4a76 Fix duplicate if condition (remove 2nd case with less effect 2024-03-12 20:00:58 +01:00
MDW
7e52b2f632 Fix duplicate if condition with same effect 2024-03-12 19:13:40 +01:00
MDW
1f31d29a77 Fix duplicate if condition with same effect 2024-03-12 19:09:53 +01:00
MDW
8bd965fb80 Fix duplicate if condition
# Fix duplicate if condition

Removed the duplicate which had a different action but it was not effective in the code
so it was removed (it looks like a leftover).
2024-03-12 19:09:06 +01:00
MDW
29b8d0db84 Fix: Duplicate test on "shipping", replaced duplicate with delivery_note
# Fix: Duplicate test on "shipping", replaced duplicate with delivery_note

The second test on "shipping" was without effect but as the module was set to
"expedition_bon", I modified the test to delivery_note and put it closer to
the test on "shipping"
2024-03-12 19:05:15 +01:00
Frédéric France
fc732b1be5 fix mod barcode product 2024-03-12 18:49:29 +01:00
MDW
3d47d9b894 Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:06 +01:00
MDW
a59fd68987 Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:05 +01:00
MDW
7825954f2a Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:04 +01:00
MDW
bba0d4661e Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:03 +01:00
MDW
69e335a13b Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:02 +01:00
Laurent Destailleur
16edaf9208 Merge pull request #28783 from lamrani002/cMailFileSendmail
fix method sendfile return type
2024-03-12 16:19:36 +01:00
Laurent Destailleur
cf28211a78 Update CMailFile.class.php 2024-03-12 16:18:44 +01:00
Lamrani Abdel
8bf54dee9e fix method sendfile return type 2024-03-12 15:13:54 +01:00
Laurent Destailleur
a6926c29c0 Merge pull request #28778 from fappels/develop_fix_delivery_note
Fix shipping is not a delivery_note (is sub module of shipping)
2024-03-12 14:53:51 +01:00
Laurent Destailleur
74b8162d22 Merge pull request #28700 from mdeweerd/urlencode/fixuptype
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
Laurent Destailleur
9e16016125 Merge pull request #28770 from mdeweerd/typing/fields
Fix: Repeat fields typing in CommonClass children
2024-03-12 14:30:36 +01:00
Laurent Destailleur
ee3fa7f643 Merge pull request #28776 from mdeweerd/fix/phpdoc1
Fix: PHPdoc and minor code changes from phpstan logs
2024-03-12 14:27:52 +01:00
gdesnoues
c27f4e062f Merge branch 'develop' into patch-1 2024-03-12 14:19:56 +01:00
Laurent Destailleur
d62ef14064 Merge pull request #28768 from mdeweerd/fix/PhanTypeMismatchDeclaredParamNullable
Fix: PhanTypeMismatchDeclaredParamNullable & enable detection
2024-03-12 14:19:41 +01:00
Laurent Destailleur
f4b6dd927d Merge pull request #28771 from mdeweerd/typeing/module_parts
Qual: Typing : make all $module_parts fields optional and add missing
2024-03-12 14:15:56 +01:00
Francis Appels
6f1b184f17 Merge remote-tracking branch 'Dolibarr/develop' into develop_fix_delivery_note 2024-03-12 14:13:41 +01:00
Laurent Destailleur
949c885477 Merge branch 'develop' into fix/phpdoc1 2024-03-12 14:11:30 +01:00
Laurent Destailleur
0b936bebe7 Merge pull request #28773 from frederic34/clean_mod_code
clean code and phpdoc
2024-03-12 14:09:23 +01:00
gdesnoues
a75bc08d94 show image in a line description of a proposal PDF #28670
When you set FCKEDITOR_ENABLE_DETAILS_FULL to 1 you can add pictures in description proposal with the WYSIWYG bar.
Add preg_replace() to show this pictures in the PDF
2024-03-12 14:08:29 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
Francis Appels
ba1ca6dc7d module delivery_note not exist (no own module descriptor) is global MAIN_SUBMODULE_DELIVERY 2024-03-12 11:46:12 +01:00
Francis Appels
7ff68a5819 Fix shipping is not a delivery_note (sub module of shipping) 2024-03-12 11:07:18 +01:00
Laurent Destailleur
7869c1a309 AI support both plain text and HTML generation 2024-03-12 10:01:39 +01:00
Frédéric FRANCE
de4c564c7e clean 2024-03-12 09:56:36 +01:00
Frédéric FRANCE
c8714ea50b clean 2024-03-12 09:54:32 +01:00
Frédéric FRANCE
9b4c8f2445 clean 2024-03-12 09:48:42 +01:00
Frédéric FRANCE
0bcd1035cc clean 2024-03-12 09:29:11 +01:00
Frédéric FRANCE
d7517b5f20 Merge remote-tracking branch 'upstream/develop' into clean_mod_code 2024-03-12 09:25:53 +01:00
Frédéric FRANCE
bb7ecb956f clean 2024-03-12 09:24:48 +01:00
Frédéric France
ddfd1fbfd4 clean 2024-03-12 08:10:29 +01:00
Frédéric France
424eabf966 clean 2024-03-12 08:08:44 +01:00
Frédéric France
16f161e263 clean 2024-03-12 08:06:42 +01:00
Frédéric France
d666a0f35e clean 2024-03-12 08:03:41 +01:00
Laurent Destailleur
dcca7cc3f6 Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 02:54:05 +01:00
Laurent Destailleur
56950673b8 Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 02:41:47 +01:00
Laurent Destailleur
4f64c683ee Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 01:55:26 +01:00
Frédéric France
8b79cfa095 clean 2024-03-12 00:16:06 +01:00
MDW
eefe123dcb fixup! fix phpstan (#28727) 2024-03-11 23:46:53 +01:00
MDW
b79328f4e6 Qual: Fix PHPdoc to match parent 2024-03-11 23:46:46 +01:00
Frédéric France
7ad8f6b074 clean code and phpdoc 2024-03-11 23:18:01 +01:00
Frédéric France
7fabf59b46 clean code and phpdoc 2024-03-11 23:13:30 +01:00
MDW
44376cd066 More specific type for childtablesoncascade 2024-03-11 22:16:27 +01:00
Frédéric France
a300206c28 clean code and phpdoc 2024-03-11 21:59:48 +01:00
MDW
4e20c644c2 Qual: Correct PHPdoc typing 2024-03-11 21:51:04 +01:00