Commit graph

151240 commits

Author SHA1 Message Date
Laurent Destailleur
bbbf405d3a Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-10 20:18:58 +01:00
Laurent Destailleur
d278909f5b Debug amount suggested on membership public form 2026-02-10 19:56:55 +01:00
hansemschnokeloch
6d0e42a82e Fix file path comment in supplier invoice module (#37133)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-10 15:32:41 +01:00
atm-jonathan
4532d69220
Add missing CSRF tokens in bank left menu links (#37181)
* Add missing CSRF tokens in bank left menu links

* clean QUAL

* Update eldy.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-10 15:15:43 +01:00
Alexandre SPANGARO
26787b8666
FIX Bank transfer admin - Warning & save 0 on constant PAYMENTBYBANKTRANSFER_ADDDAYS (#37175) 2026-02-10 15:15:26 +01:00
Alexandre SPANGARO
033667e0cc
FIX Intracommreport - Warning & link problem on tab (#37176) 2026-02-10 15:11:30 +01:00
Alexandre SPANGARO
7801d27d82
FIX BOM - Class product missing, column offset and information recording (form/input overlap) in admin (#37177)
* FIX BOM - Class product missing in admin

* Fix column offset and information recording (form/input overlap)
2026-02-10 15:07:45 +01:00
Laurent Destailleur
3339d78245 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-10 14:41:52 +01:00
Laurent Destailleur
db5154871c More functions in blacklist (even if nw we use the whitelist by default) 2026-02-10 14:41:36 +01:00
Alexandre SPANGARO
178d6dbadc
FIX Product - Warning on admin + CSS (#37158)
* FIX Product - Warning on admin

* CSS

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-10 00:47:23 +01:00
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
yveslg
4951edfbd0
Fix/accountancy pdf wrong labels (#37153)
* FIX #37147 Limit account fetch to active chart of accounts in PDF exports

When multiple chart of accounts have the same account number, the PDF
exports (balance and ledger) could retrieve the wrong account label.

* FIX #37147 Decode HTML entities in balance PDF account group labels

The balance PDF export was displaying HTML entities (like &EACUTE;) instead
of properly decoded characters (like É) in account group labels.
2026-02-08 20:09:40 +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