Commit Graph

40549 Commits

Author SHA1 Message Date
Günter Lukas
603f46a173 Fix #34593 (#34594)
* Fix #34593

* Fix whitespace

* Fix phpstan error

* undi fix in dolibarrtriggers.class.php

* Fix #34593
2025-06-20 15:43:39 +02:00
ldestailleur
446efdc432 Clean dead code 2025-06-20 14:00:29 +02:00
ldestailleur
2a85b73fa2 Add MULTICURRENCY_SHOW_ALSO_MAIN_CURRENCY_ON_PDF for legal requirement
that need both currencies on PDF
2025-06-20 14:00:14 +02:00
ldestailleur
703d4358a5 Debug v22 2025-06-20 12:34:10 +02:00
ldestailleur
739cbe063b Fix missing 2025-06-19 16:47:12 +02:00
ldestailleur
2cfa986ad5 Doc 2025-06-19 15:58:23 +02:00
ldestailleur
ec8a87a3cb Doc 2025-06-19 15:49:26 +02:00
ldestailleur
9c2da8b9b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-19 11:31:44 +02:00
ldestailleur
a78e63dbf0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-19 11:13:59 +02:00
ldestailleur
ec098b2632 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-06-19 10:59:07 +02:00
ldestailleur
0da1e6b464 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-19 10:48:18 +02:00
HENRY Florian
68a33a8759 fix: SubTotal module version for 22 is still experimental (even if actually it's working like a charm on the customer scope) (#34573) 2025-06-19 10:40:06 +02:00
ldestailleur
247847cd14 Fix warnings 2025-06-19 10:39:19 +02:00
Alexandre Janniaux
0770e79749 commonobject: updateLineUp: use early return on query failure (#34570)
Simplify the code by early returning on query failure, which removes
almost every indentation level of the function.

It also highlights some important flaws here, since there is a return
without value (void return type) between the two queries if an error
happened, which would indicate the first query failed and nothing was
registered, but also an error check leading to printing an error message
if the second query fails, without actually reverting the first one, and
since there is no error code, there's no way to trigger a db->rollback()
from the caller code for this reason.
2025-06-19 10:12:55 +02:00
Alexandre Janniaux
1da9aab8d4 commonobject: updateRangOfLine: de-indent happy path (#34569)
There's no need for the else{} block when the if block early returns,
and it helps highlighting the happy path. Note that this kind of change
only make sense when one of the block is an error, not a choice between
two possibilities.
2025-06-19 10:11:12 +02:00
Frédéric FRANCE
bf2d6f1f1e fix CI (#34553)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-19 10:10:42 +02:00
ldestailleur
0a0f96bda6 Fix CI 2025-06-18 19:13:53 +02:00
ldestailleur
9d89c206df Debug v22 2025-06-18 16:14:33 +02:00
ldestailleur
06a5b4947d Fix CI 2025-06-18 15:59:28 +02:00
ldestailleur
e036520cb0 Debug v22 2025-06-18 15:10:58 +02:00
Alexandre Janniaux
f04a390cb5 commonobject: getChildrenOfLine: early return on query error (#34547)
This makes the code more readable by deindenting two whole levels on the
happy path.
2025-06-18 14:19:37 +02:00
ldestailleur
3c88a63172 Debug v22 2025-06-17 15:14:08 +02:00
ldestailleur
320328d7ec Debug v22 2025-06-17 01:49:34 +02:00
ldestailleur
7f817c5b25 Debug v22 2025-06-17 01:37:26 +02:00
ldestailleur
8208b1d40f Debug v22 2025-06-17 01:13:09 +02:00
ldestailleur
6d4a68b227 Debug v22 2025-06-16 22:50:21 +02:00
Maxime Kohlhaas
41878921a7 Fix : better display of titles and subtotals on pdf cyan (#34525)
* Fix : better display of titles and subtotals on pdf cyan

* Fix : better display of titles and subtotals on pdf eratosthene and sponge
2025-06-15 02:55:48 +02:00
Laurent Destailleur
c4179887c8 Fix #34518 2025-06-15 02:49:29 +02:00
Laurent Destailleur
ffd2ec7bef Debug v22 2025-06-14 17:41:10 +02:00
Laurent Destailleur
13f483d7a9 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2025-06-14 16:03:56 +02:00
Laurent Destailleur
8d7a5e9945 Debug v22 2025-06-14 15:59:13 +02:00
Marc de Lima Lucio
17edce5972 FIX: online propal sign: double header with logo when custom logo set (#34504)
* FIX: online propal sign: double header with logo when custom logo get

* Update company.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-14 15:05:05 +02:00
Marc de Lima Lucio
467c772504 FIX: common fields: php warning with select input field (#34495) 2025-06-14 11:58:25 +02:00
IC-Nicolas
6474c7fbdd FIX display error (#34494)
* FIX display error

* FIX CI
2025-06-14 11:57:58 +02:00
Laurent Destailleur
75b9a98f0b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-06-14 02:24:25 +02:00
Laurent Destailleur
b8400d1b21 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-14 02:15:23 +02:00
Laurent Destailleur
1bd6757e62 Fix CI 2025-06-14 02:15:10 +02:00
Nicolas Domenech
6b2050d34d #34417 [GroupByKanban] add: fix drag and drop for lead (#34493) 2025-06-14 01:45:50 +02:00
Maxime Kohlhaas
871e914aa1 Fix : wrong module name for customer/supplier tag new page (#34477) 2025-06-14 01:29:47 +02:00
evarisk-kilyan
dbf1e581a8 #34417 [GroupByKanban] add: drag and drop with saveinplace (#34456)
* #34417 [GroupByKanban] add: drag and drop with saveinplace

* #34417 [LibHead] fix: whitespaces

* #34417 [ProjectClass] fix: GETPOST and PHP inside JS
2025-06-14 00:33:33 +02:00
Marc de Lima Lucio
bc18656fd5 FIX: files lib: multiple php 8.1 warnings (#34462) 2025-06-14 00:27:36 +02:00
HENRY Florian
a708780477 fix: phpwarning Vinci (OF) PDF (#34466) 2025-06-13 23:48:28 +02:00
Charlène Benke
3f9c3869c3 php warning on category list if supplier disabled (#34412)
* php warning on category list if supplier disabled

* Update functions.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-13 17:24:15 +02:00
HENRY Florian
e17b36b0c7 fix: warning Form IA and settings (#34426)
* fix: warning Form IA and settings

* fix: warning Form IA and settings

* Update html.formmail.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-13 16:13:02 +02:00
Vincent Maury
a68bd9c1a3 Update functions.lib.php (#34436) 2025-06-13 12:22:49 +02:00
Laurent Destailleur
bfd2359fd8 Debug v22 2025-06-13 03:21:40 +02:00
Laurent Destailleur
ad02c1885c Sync transifex 2025-06-13 00:12:21 +02:00
lvessiller-opendsi
878474f1d1 FIX element must be visible to set focus on select input when using default values (#34406) 2025-06-12 12:23:55 +02:00
ldestailleur
fdd02a0ebe Fix CI 2025-06-11 18:17:56 +02:00
ldestailleur
175b79db3f Fix CI 2025-06-11 18:07:33 +02:00