Commit graph

151570 commits

Author SHA1 Message Date
Laurent Destailleur
bbbc0329ab Fix trans 2026-03-20 15:35:36 +01:00
Laurent Destailleur
167830d6ef Doc 2026-03-19 11:46:45 +01:00
Laurent Destailleur
a5b65ea110 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-03-18 01:34:11 +01:00
Laurent Destailleur
fba1534d5b Fix autofocus 2026-03-18 01:34:00 +01:00
Guido Schratzer
26f33edefc
FIX Backport/23 fix amount main currency (#37530)
* FIX: Issue #37425 filling of field amount_main_currency for foreign money accounts

The parameter amount_main_currency (argument #13 of addline()) was previously
filled even when the bank account was already using the company main currency.

This caused the field amount_main_currency to be populated incorrectly for
transactions that were not foreign currency operations.

The logic has been updated so that amount_main_currency is only filled when the
transaction involves a foreign currency account. For accounts already using the
company main currency, the value is now left NULL as expected.

This aligns the behavior with the intended usage of addline() and prevents
incorrect data in bank transaction records.

(cherry picked from commit cdc36551d918a2fa49060223bd7bb008a9de3c1b)

* FIX: Issue #37425 filling of field amount_main_currency for foreign money accounts
transfer.php: PhanTypeMismatchArgument: Argument 4 ($amount) is price2num((-1 * (float)($amount[$n]))) of type string but \Account::addline() takes float defined at htdocs/compta/bank/class/account.class.php:611
CI-PULL-REQUEST / phan / Run phan
Check warning on line R189
Check warning:
transfer.php: PhanTypeMismatchArgument: Argument 13 ($amount_main_currency) is $amount_main_currency_from of type ?string but \Account::addline() takes ?float defined at htdocs/compta/bank/class/account.class.php:611
CI-PULL-REQUEST / phan / Run phan

(cherry picked from commit b8f222c3d9c71bf09f66ce33b920b284a7308cf7)

* declare dateo

(cherry picked from commit 1401f74969b9842df87cc390bb97d8d09d304c38)

* declare of variables before action script

(cherry picked from commit 2b07209935d87549fd9d9720e8c090127e766c4e)
2026-03-17 11:26:18 +01:00
Francis Appels
91781c8b44
Fix modPrinting menu (#37529) 2026-03-17 11:25:32 +01:00
Laurent Destailleur
a1e546bf09 css 2026-03-16 22:14:02 +01:00
Laurent Destailleur
61a4af5ac5 Move the sleep 2026-03-16 10:51:46 +01:00
Laurent Destailleur
06db36885b Doc 2026-03-16 10:41:11 +01:00
Laurent Destailleur
9773f4c6ec FIX Logic in isEditable(). Must not be exactlylike in isErasable(). 2026-03-16 10:40:19 +01:00
Laurent Destailleur
2985c8bd21 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-16 10:20:01 +01:00
Laurent Destailleur
a222fe5360 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-16 10:19:58 +01:00
Laurent Destailleur
e98c441c4c Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-16 10:19:56 +01:00
Laurent Destailleur
638fd27af2 Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-03-16 10:19:43 +01:00
Laurent Destailleur
f9c6562de9 Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-03-16 10:18:38 +01:00
Laurent Destailleur
8ede2e75f5 Automated merge from 17.0 to 18.0 by tool pullmerge.sh 2026-03-16 10:18:34 +01:00
Laurent Destailleur
86bb0b4cc5 Automated merge from 16.0 to 17.0 by tool pullmerge.sh 2026-03-16 10:17:50 +01:00
Laurent Destailleur
4098eafe24 Automated merge from 15.0 to 16.0 by tool pullmerge.sh 2026-03-16 10:16:32 +01:00
Laurent Destailleur
a81ba1847d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2026-03-15 14:53:27 +01:00
Laurent Destailleur
209323598a Restore parallel-lint only on last version 2026-03-15 14:52:53 +01:00
Laurent Destailleur
88b66741fc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2026-03-15 14:52:07 +01:00
Laurent Destailleur
6505e41b4d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2026-03-15 14:51:02 +01:00
Laurent Destailleur
a4bd180c72 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2026-03-15 14:50:22 +01:00
Laurent Destailleur
2605d33dbc Restore parallel-lint 2026-03-15 14:50:13 +01:00
William Desportes
9e13496975
Fix User creation API permission check (#37502)
Bug introduced by 3c9d8bc931

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-15 14:48:32 +01:00
Laurent Destailleur
cb96c5fbed FIX Missing field in fetch 2026-03-15 14:43:53 +01:00
Laurent Destailleur
7c399bd78b Fix CSS and look and feel v23 2026-03-15 14:34:28 +01:00
Laurent Destailleur
39f3abec0c Try to ignore travis 2026-03-15 13:47:49 +01:00
Laurent Destailleur
a9d846dfd6 Disable paralle-lint that is no more available on travis (security bug) 2026-03-15 12:22:16 +01:00
Laurent Destailleur
4908f4acba Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-15 12:16:21 +01:00
Laurent Destailleur
ce9f993856 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-15 12:16:18 +01:00
Laurent Destailleur
2a3982f2fd Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-15 12:16:15 +01:00
Laurent Destailleur
e77af9c26c Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-03-15 12:15:32 +01:00
Laurent Destailleur
e8a02f169a Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-03-15 12:08:38 +01:00
Laurent Destailleur
ac1a56fd00 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-03-15 12:08:35 +01:00
Laurent Destailleur
e0ceff086e Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-03-15 12:08:32 +01:00
William Desportes
2f5a74e34c
Fix User creation API permission check (#37504)
Fixes #30465

Bug introduced by 3c9d8bc931
And still present in the change 7b54824d49
See: 7b54824d49 (diff-64e82e2f84fc5a1af766e17f0e533221c48231c6bbe3f342af899ee6854748fb)
2026-03-15 12:01:33 +01:00
Laurent Destailleur
9400c2b358 Fix filter and CI 2026-03-14 19:18:14 +01:00
Laurent Destailleur
4b3443cd77 Doc 2026-03-14 19:07:25 +01:00
Zakaria Boushaba
d3de4529a7
Fix(accounting): exportWinfic now supports parameter like other expo… (#37483)
* Fix(accounting): exportWinfic now supports  parameter like other export methods

* Fix CI PULL REQUEST

---------

Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
2026-03-14 19:03:16 +01:00
Aloïs Micard
6bd574c307 Fix automatic barcode generation in product update (#37487)
* Fix automatic barcode generation in product update

* Fix comment
2026-03-14 19:01:19 +01:00
Laurent Destailleur
a6e877c36e Fix test 2026-03-14 18:47:51 +01:00
Laurent Destailleur
d1e45ecf1a FIX #37482 2026-03-14 18:41:00 +01:00
atm-lucas
f90e121650
You cannot cancel leave if the balance is negative (#37492) 2026-03-14 18:31:50 +01:00
lvessiller-opendsi
14dd9abcc1
FIX bad tab underlined in display setup (#37489) 2026-03-14 18:30:02 +01:00
Charlène Benke
ec67efed5f fichinterrec : bad habilitation on update fields (#37493) 2026-03-14 18:14:27 +01:00
Laurent Destailleur
992731c8ca FIX extrafield on pdf must not appears on doc if option off 2026-03-13 12:56:25 +01:00
Laurent Destailleur
138c1bf5b3 Fix CI 2026-03-13 11:50:21 +01:00
Laurent Destailleur
99bc406c49 Fix restore compatibility with filter on category 2026-03-13 11:08:43 +01:00
Laurent Destailleur
934123eef5 FIX restore use of user->id in dynamics conditions 2026-03-13 09:48:18 +01:00