Commit graph

151229 commits

Author SHA1 Message Date
Alexandre SPANGARO
f9aaaffcd1
FIX Product - Warning on admin (#37157)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-10 00:46:51 +01:00
Laurent Destailleur
49f44ab3c0 Fix phpunit 2026-02-10 00:01:48 +01:00
Noé Cendrier
016e3901c3 FIX: missing include for blockedlog lib (#37165) 2026-02-09 23:07:39 +01:00
Laurent Destailleur
fc2888b42d CI 2026-02-09 23:01:01 +01:00
Laurent Destailleur
4aae67aa27 Disable phan on v23 2026-02-09 19:58:02 +01:00
Laurent Destailleur
ccaf2eae29 Fix CI 2026-02-09 19:20:26 +01:00
Laurent Destailleur
75378a3eed Fix CI 2026-02-09 19:17:27 +01:00
Laurent Destailleur
1ee972d997 Fix CI 2026-02-09 19:16:55 +01:00
Laurent Destailleur
b69f2b81dd CI 2026-02-09 18:41:19 +01:00
Laurent Destailleur
f69d0dd04e CI 2026-02-09 18:39:44 +01:00
Laurent Destailleur
1950fbdd5f Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-09 16:40:24 +01:00
Laurent Destailleur
d711c93577 cs 2026-02-09 16:40:13 +01:00
Yamil Esteban Garcia
62779ae0bc Fix: IRPF tax not applied when creating invoice from project times (#37077)
* Remove 'supplier_invoice' from old path array

* Update module path in arrayforoldpath

Sorry Eldy, I was confused. You are absolutely right, it is already corrected.

* Replace localtax2 assignment with get_localtax function


Error when creating an invoice with personal income tax from project times. The rate does not apply

* Refactor localtax1 calculation using get_localtax

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-09 03:56:16 +01:00
Laurent Destailleur
3b441d22f6 CSS 2026-02-09 00:34:53 +01:00
Laurent Destailleur
5e3c3fd582 Fix package debian 2026-02-08 22:48:23 +01:00
Jarvis
07cb0adade Update modProduct.class.php (#37087)
Fix: allow import of sell_or_eat_by_mandatory for products

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-08 22:27:12 +01:00
Laurent Destailleur
a7a7dfb738 Debug v23 2026-02-08 21:34:12 +01:00
Laurent Destailleur
008a22eb17 Fix spellcheck 2026-02-08 21:24:34 +01:00
Laurent Destailleur
79bf9a0a4b Add error message 2026-02-08 20:40:25 +01:00
Laurent Destailleur
c386f94fab Debug v23 - Filter on action type ko 2026-02-08 19:33:09 +01:00
Laurent Destailleur
1173164d7e Debug v23 - Filter on action type ko 2026-02-08 19:30:17 +01:00
Laurent Destailleur
3b6c448787 Debug v23 - Min price was wrong in multicurrency mode 2026-02-08 18:52:24 +01:00
Laurent Destailleur
ba28d16da4 Sec: Add param $dolibarr_website_allow_custom_php to block by default
any PHP content in website module.
2026-02-08 17:41:42 +01:00
Laurent Destailleur
8feb5275ba Debug v23 2026-02-08 15:38:19 +01:00
Laurent Destailleur
8d96ed3a03 Debug v23 2026-02-08 15:02:48 +01:00
Laurent Destailleur
4a7c6c6700 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-08 14:55:13 +01:00
Laurent Destailleur
9ec77dada2 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-08 14:54:15 +01:00
Laurent Destailleur
afc3879d84 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-08 14:53:59 +01:00
Florian Hödl
4660d0eec9
FIX #37118 Add missing require_once for CMailFile and functions2 in advtargetemailing (#37136)
Co-authored-by: Florian Hödl <florian@hoedl.co>
2026-02-08 14:47:11 +01:00
Vanyo
534995dd6c Initialize arrayforbutaction before hook (#37149) 2026-02-08 14:44:29 +01:00
Alexandre SPANGARO
7bb57721bb
FIX Invoice - Don't show discount on credit note type (#37145) 2026-02-08 14:29:25 +01:00
Laurent Destailleur
d0c5d523a3 FIX Show total on multicurrency only if currency are the same on all
lines
2026-02-08 13:59:19 +01:00
Laurent Destailleur
574b4b5d62 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-08 13:12:52 +01:00
Laurent Destailleur
01e947cfad Rename var 2026-02-08 13:10:29 +01:00
Laurent Destailleur
713918dadf Debug v23 2026-02-08 13:05:57 +01:00
Laurent Destailleur
0111114502 Fix CI 2026-02-08 00:19:56 +01:00
adamhocini
79ba81a75d Correct linked_objects assignment for 'propal' #Wrong sourcetype 'commande' instead of 'propal' when creating recurring invoice template from invoice linked to proposal #37099 @defrance (#37112)
* Correct linked_objects assignment for 'propal'

@defrance Adam Hocini

* Refactor linked objects assignment for proposals

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-08 00:11:46 +01:00
DarmonNoah
08040ec30e Fixed Bug : email sending test #36741 (#37107)
Fixed Bug : email sending test #36741
@defrance 
-->
Issue fixed
The problem was caused by initializing $result = 0 in core/actions_sendmails.inc.php.
When sending a test email from Setup → Emails, there is no $object to fetch. As a result, $result remained 0 and the code incorrectly triggered ErrorFailedToReadObject.

The fix consists in explicitly setting $result = 1 when no $object is provided (test email / generic email context). This correctly treats the absence of an object as a valid case and restores the ability to send test emails, while keeping $result properly initialized.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-08 00:11:36 +01:00
Joachim Kueter
3361d4b0ba
Fix: auto-generate pdf from odt-templates also for not yet validatedocuments (#37082)
* Fix: auto-generate pdf from odt-templates also for not yet validated documents

Not validated documents have a ref containing (PROV

When auto-generating pdf documents from odt documents is activated, this fails for not validated documents: the brackets ( ) in the ref are getting escaped twice which leads the pdf generation to fail.

The change removes the double escaping, the$command is already escaped before. With this change, also for unvalidated documents, pdf documents are getting generated.

* replace ( ) for escapeshellcmd

temporarily replace ( ) by placeholders to avoid them getting escaped

check that no placeholder injection happened before

apply to both execmethods (1 and 2)

* Retrigger check
2026-02-08 00:04:45 +01:00
Anthony Berton
6ef62a45b5
FIX - getModuleDirForApiClass for propal (#37098)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-02-07 23:44:57 +01:00
AnthoXic
51c7074687 Update card.php (#37108)
@defrance https://github.com/Dolibarr/dolibarr/issues/36767
2026-02-07 23:41:34 +01:00
Francis Appels
7eae776e13
Fix #37089, still some checks on PRODUIT_SOUSPRODUITS_ALSO_ENABLE_PARENT_STOCK_MOVE (#37115) 2026-02-07 23:28:36 +01:00
Laurent Destailleur
ce6802ab77 Edit form must match have order of field similat to create form 2026-02-07 23:25:50 +01:00
atm-lucas
251b57641b
fix timespent in timeline (#37132) 2026-02-07 22:53:52 +01:00
Laurent Destailleur
6bc3bb0761 More debug info 2026-02-07 22:28:11 +01:00
Laurent Destailleur
a48485195f Fix CI 2026-02-07 22:03:11 +01:00
Laurent Destailleur
556b103dc6 Fix max 2026-02-07 21:57:02 +01:00
Laurent Destailleur
205cb50766 Debug v23 2026-02-07 21:55:20 +01:00
Laurent Destailleur
2ceadc0741 css 2026-02-07 21:39:27 +01:00
Laurent Destailleur
c852aa346a Fix the limit 2026-02-07 21:38:51 +01:00