Commit graph

142544 commits

Author SHA1 Message Date
ldestailleur
68e239efe4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-03 19:21:14 +02:00
ldestailleur
0d599fae44 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-09-03 19:20:05 +02:00
ldestailleur
e3abe90ee0 FIX Restore decimal quantity for stock correction/transfer 2025-09-03 19:19:49 +02:00
Benjamin Chanudet
355021adb8
FIX #35181 Cancelled purchase orders now shown as such in Project Overview (#35186)
* exclude "cancelled" purchase orders from total

* show cancelled purchase order as cancelled

* show cancelled order by default, as the visibility button is "cancelled shown" by default
2025-09-03 14:51:50 +02:00
ldestailleur
c2cd2bcaf9 Fix warning 2025-09-03 14:41:23 +02:00
ldestailleur
9dacc2cad1 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-02 23:19:02 +02:00
ldestailleur
4123e70f0f FIX #35142 FIX #35143 2025-09-02 23:18:51 +02:00
atm-jonathan
99195bf935
Fix load extrafields list task (#35135)
* load extrafieds task

* load extrafieds task

* restore commentaire

---------

Co-authored-by: Jonathan <x@x.x>
2025-09-02 22:56:39 +02:00
ldestailleur
e415fb7efa Fix CI 2025-09-02 22:48:34 +02:00
ldestailleur
5a8aff9e79 Sec: Update doc to trigger alert of vulnerability fix in commit
bb0974add9
2025-09-02 22:37:08 +02:00
ldestailleur
55d177883f Doc 2025-09-02 12:00:46 +02:00
ldestailleur
557e830aae Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-02 11:58:45 +02:00
ldestailleur
a1b99da514 Prepare 21.0.4 2025-09-02 11:58:35 +02:00
Benjamin Chanudet
53aae1a4b8
FIX #35147 SQL Error on Beluga Export when ExpenseReport is enabled (#35149)
* Fix SQL error when ExpenseReport module is enabled (#35147)

* fix date filtering that prevents data to be displayed

* add date and amount for expense reports

* Update pdf_beluga.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-01 20:33:12 +02:00
Sébastien NASSIET
3a27b44f95
FIX #35154 - Massaction createbills in reception list don't mind about order and/or thirdparty currency (#35156)
* FIX#35154

Massaction createbills in reception list don't mind about order and/or thirdparty currency

* FIX#35154

* FIX#35154

* Delete white space line 406

* Correcting typing error
2025-09-01 19:49:50 +02:00
ldestailleur
dd09cb5f69 Fix CI 2025-09-01 19:29:28 +02:00
ldestailleur
bb0974add9 FIX Security when using feature Advanced Target of emailing (hidden in
v21, default in v22+). Possible SQL injection by users with permissions
to make mass emailing. Reported by Simon Perdrisat.
2025-09-01 16:38:01 +02:00
ldestailleur
6e3de32c36 FIX error when using a code too large in dictionary 2025-08-29 17:44:18 +02:00
ldestailleur
6a4c7398a7 Fix message 2025-08-28 23:02:35 +02:00
ldestailleur
c91f5caac4 Prepare 21.0.3 2025-08-28 16:37:13 +02:00
ldestailleur
8631c1722f FIX #35115 2025-08-28 15:20:59 +02:00
ldestailleur
f7a3d295cc Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-28 14:04:47 +02:00
ldestailleur
1938bbf63b Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-27 19:30:16 +02:00
ldestailleur
5fe7b972c7 Update changelog 2025-08-27 19:30:05 +02:00
Benjamin Chanudet
d81f8e539d
FIX #34857 Structured communication number checksum is now always correct (#35081)
* FIX #34857 Structured communication number now works correctly

* make sure we follow Dolibarr code chart

* fix last CI warning
2025-08-26 05:16:32 +02:00
Pichinov-Jose
21b194999f
FIX Update card_group.php : missing letter in Fistname (#35077) 2025-08-26 05:03:34 +02:00
ldestailleur
0f036f4f6e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-25 21:52:43 +02:00
ldestailleur
f710eaa2a4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-08-25 21:51:28 +02:00
ldestailleur
edf07d40b3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-08-25 21:51:10 +02:00
ldestailleur
a21e896dbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-24 22:10:12 +02:00
ldestailleur
36a69fdfe3 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-08-24 22:09:41 +02:00
ldestailleur
583c4b3270 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-08-24 22:09:30 +02:00
ldestailleur
381c6fbecf Fix CI 2025-08-24 22:05:46 +02:00
ldestailleur
ed9b2fcabc Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-22 05:21:05 +02:00
ldestailleur
dd8d243fda Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-22 05:20:57 +02:00
Benjamin Chanudet
a8d4067af2
FIX #35011 Computed extrafield on tasks list now display correct values (#35038)
The functions assigns value to `$obj` on line 976, but doesn't assign value to `$object`, that is then assigned to `$objectoffield` in line 75 of `extrafields_list_print_fields.tpl.php`. Also `$objectoffield` is the recommended value to use for computed extrafields, according to the docs.
But assigning `$object` is not enough, because `$objectoffield` at this moment is not grabbed from the global scope, so the value stays local and `dol_eval()` doesn't find it. So it also needs to grab the variable from the global scope to affect it correctly.
The changed function, `projectLinesa()` is called only twice in the project: by itself recursively to go through all subtasks, and on the page where I detected the bug initially, `tasks.php`, so the impact should be minimal.
2025-08-22 05:18:25 +02:00
hermans
c929bf5964
Update some ID Language translation (#35021)
Co-authored-by: hermans <hermans@users.noreply.github.com>
2025-08-21 23:28:53 +02:00
Frédéric FRANCE
f626e4e85f
fix Undefined variable $outputlangs (#35029) 2025-08-21 15:52:41 +02:00
ldestailleur
165272d0e1 Fix CI 2025-08-21 15:39:06 +02:00
ldestailleur
9fc2382d23 FIX bad test making blank page 2025-08-21 15:03:09 +02:00
ldestailleur
7878d81e33 FIX #34986 2025-08-21 11:02:48 +02:00
lvessiller-opendsi
3362a6b06d
FIX The combo of custom groups has disappeared (backport v19) (#35016) 2025-08-20 19:03:18 +02:00
ldestailleur
ec1658b95a FIX #35008 2025-08-20 17:04:25 +02:00
ldestailleur
e351f7bcd5 FIX a Fatal error when a trigger files is not correctly named. 2025-08-20 16:26:29 +02:00
ldestailleur
f722602402 Fix comparison on version to show the warning to upgrade database 2025-08-20 16:02:46 +02:00
ldestailleur
0d4df1e762 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-08-19 11:52:09 +02:00
ldestailleur
c34f3c07fd css 2025-08-19 11:51:53 +02:00
hermans
63924e2f94
Fix facture haader title on dolibar-21 (#34993)
* Fix facture haader title on dolibar-21

* fix error - No space found after comma in argument list

---------

Co-authored-by: hermans <hermans@users.noreply.github.com>
2025-08-19 11:41:03 +02:00
hermans
1fb37db6f6
Bug Fix for issue 34898, default warehause and obj->endbrowid not exist on receipt.class (#34959)
* bug fix for: https://github.com/Dolibarr/dolibarr/issues/34939

* Bug fix for: Dolibarr Issue #34939

* Revert "bug fix for: https://github.com/Dolibarr/dolibarr/issues/34939"

This reverts commit bd4c1ccc41319a37ef9e70cec61c80a5efbbd4e8.

* Revert "Bug fix for: Dolibarr Issue #34939"

This reverts commit 8e46f863b943095b06ab3ae7dea248f12ea2c6e6.

* Bug fix for issue https://github.com/Dolibarr/dolibarr/issues/34898

* fix bug on reception setClosed: ->edbrowid is not exist

* Fix missing variable for obj->endbrowid in etDraft,valid,setClosed

* fix white space

* remove white space
2025-08-15 17:26:39 +02:00
HENRY Florian
e3953f684b
fix: with MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS and multicompany image are not find on send mail (#34946) 2025-08-14 19:03:37 +02:00