Commit graph

145714 commits

Author SHA1 Message Date
github-actions[bot]
b2b3100ed3
PHPStan > Update baseline (#34584)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-06-19 14:59:26 +02:00
ldestailleur
8c99c91015 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-19 12:51:00 +02:00
ldestailleur
b8695702dd Fix DOC 2025-06-19 12:50:49 +02:00
ldestailleur
62abfe7cb0 Clean code 2025-06-19 12:50:41 +02:00
Frédéric FRANCE
a089aa2409
fix missing translation (#34578) 2025-06-19 12:41:29 +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
c3f11fd0a7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-19 10:52:07 +02:00
ldestailleur
719de0aef3 Disable not working github actions 2025-06-19 10:51:51 +02:00
ldestailleur
8a00ba81d0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-19 10:49:00 +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
ldestailleur
4cc3be24d3 Doc 2025-06-19 10:46:15 +02:00
Eric - CAP-REL
b1109f6803
add env var for non-origin repository (#34577) 2025-06-19 10:44: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
01b630a221 Fix CI 2025-06-18 18:21:57 +02:00
ldestailleur
0ae1f2fb9d Fix CI 2025-06-18 16:53:20 +02:00
ldestailleur
65bb64e9cd Fix CI 2025-06-18 16:24:37 +02:00
ldestailleur
9d89c206df Debug v22 2025-06-18 16:14:33 +02:00
ldestailleur
1e57bc5af9 Fix CI 2025-06-18 16:09:34 +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
ldestailleur
fda1499eee Fix CI 2025-06-18 14:28:36 +02:00
ldestailleur
f5a982b5fa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-18 14:25:05 +02:00
ldestailleur
8ef8891581 Debug v22 2025-06-18 14:24:51 +02:00
Alexandre SPANGARO
4548a6fffb
FIX Product batch series - Title, help url et picto (#34560)
* Fix title / help url

* Fix help / title on note of product batch series

* Fix help / title on document of product batch series

* Fix wrong picto on document of product batch series

* Missing language file

* Fix linkback

* Update productlot_note.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-18 14:22:03 +02:00
Marc de Lima Lucio
57c751f319
FIX: expense report card: mail notifications not sent (#34556) 2025-06-18 14:20:17 +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
atm-irvine
96e1017d14
fix: document.php set default entity value (#34557) 2025-06-18 14:18:24 +02:00
ldestailleur
3d3cf00cef Debug v22 2025-06-18 12:50:30 +02:00
ldestailleur
4dd843aac4 Debug v22 2025-06-18 12:47:34 +02:00
ldestailleur
86f0057c68 Doc 2025-06-18 11:32:38 +02:00
ldestailleur
c147cf1fb2 Debug v22 2025-06-18 11:03:15 +02:00
ldestailleur
6644d9539c Debug v22 kanban grouped 2025-06-17 19:33:46 +02:00
ldestailleur
3c88a63172 Debug v22 2025-06-17 15:14:08 +02:00
ldestailleur
89da4b454b Debug v22 2025-06-17 11:44:50 +02:00
ldestailleur
e7d098c8e9 Debug v22 2025-06-17 01:55:18 +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
9c9708c9e6 Debug v22 2025-06-16 23:55:52 +02:00
ldestailleur
5e4f167815 Debug v22 - missing module_source in view mode of card 2025-06-16 23:49:56 +02:00
ldestailleur
169f3ab237 Complete FIX #34336 2025-06-16 23:36:51 +02:00
ldestailleur
253c93f7c1 Debug v22 2025-06-16 23:33:11 +02:00
ldestailleur
6d4a68b227 Debug v22 2025-06-16 22:50:21 +02:00