Commit graph

139611 commits

Author SHA1 Message Date
Alexandre Janniaux
24ef798202 phpunit: AllTest: register new accountancysystem test 2024-12-04 08:10:37 +01:00
Alexandre Janniaux
b75db7015e test: phpunit: add AccountancySystemTest
The test check that we can create and fetch items correctly. Commented
implemented for update and delete are provided but currently useless
since no implemented of update/delete are present in AccountancySystem.

Testing object creation without having object deletion is still useful
for tests purpose, since objects created in an accountancy tests would
involve the accountancy system and using an existing one could lead to
uniqueness errors, whereas creating new ones ensure the
AccountingAccount can be created regardless.
2024-12-04 08:10:37 +01:00
Laurent Destailleur
19b0c2d8a0
Merge pull request #32222 from frederic34/holiday_card
fix phpstan
2024-12-04 01:04:31 +01:00
Laurent Destailleur (aka Eldy)
657c3a7432 Comment 2024-12-03 22:23:47 +01:00
Laurent Destailleur (aka Eldy)
37c506d32c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-03 22:22:49 +01:00
Laurent Destailleur (aka Eldy)
076aae4e01 FIX #32169 2024-12-03 22:22:27 +01:00
Frédéric France
29a0eb4d30
fix phpstan 2024-12-03 22:03:22 +01:00
Frédéric France
ba18151b91
fix phpstan 2024-12-03 21:56:21 +01:00
Frédéric France
b2c3ec675b
fix phpstan 2024-12-03 21:30:01 +01:00
Frédéric France
64fd4d7f66
Merge remote-tracking branch 'upstream/develop' into holiday_card 2024-12-03 21:17:32 +01:00
Frédéric France
1a4c9736b7
fix phpstan 2024-12-03 21:17:10 +01:00
Laurent Destailleur
6b52c0673d
Merge pull request #32170 from homer8173/patch-40
Allow various format of dates on API paiement
2024-12-03 21:16:09 +01:00
Laurent Destailleur
3eb2b3a1df
Merge pull request #32219 from frederic34/fourn_commande_index
fix phpstan
2024-12-03 21:14:46 +01:00
Frédéric FRANCE
e863cc7e23
Merge branch 'develop' into fourn_commande_index 2024-12-03 20:36:02 +01:00
Frédéric FRANCE
efcf6c6b24
fix pre-commit and CI (#32213)
* fix pre-commit

* fix phpstan

* clean code
2024-12-03 20:34:47 +01:00
Frédéric France
c9dc2952ca
fix phpstan 2024-12-03 18:26:24 +01:00
Frédéric France
5323368e92
fix phpstan 2024-12-03 18:14:34 +01:00
Laurent Destailleur (aka Eldy)
69d6f5b60c Clean position of field 2024-12-03 12:12:22 +01:00
Laurent Destailleur (aka Eldy)
2572bc156e Debug v21 2024-12-03 11:55:43 +01:00
Laurent Destailleur (aka Eldy)
0774070182 Debug v21 2024-12-03 11:18:35 +01:00
Laurent Destailleur (aka Eldy)
203a8e7c6a Debug v21 2024-12-03 10:58:52 +01:00
Laurent Destailleur (aka Eldy)
6eb2fe4689 Fix trans 2024-12-03 10:31:41 +01:00
Laurent Destailleur (aka Eldy)
fa6b0c1a83 Debug v21 2024-12-02 16:16:11 +01:00
Laurent Destailleur (aka Eldy)
c91c3a3c62 Debug v21 2024-12-02 02:49:23 +01:00
Laurent Destailleur (aka Eldy)
4e6d3217bc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-02 01:58:06 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:52:08 +01:00
Laurent Destailleur (aka Eldy)
9227add8f4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-12-02 01:41:40 +01:00
Laurent Destailleur (aka Eldy)
c547362ae9 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-12-02 01:41:04 +01:00
Laurent Destailleur (aka Eldy)
9ec4575c43 Merge branch '16.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0 2024-12-02 01:38:41 +01:00
Laurent Destailleur (aka Eldy)
3e5116492b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:30:46 +01:00
Laurent Destailleur (aka Eldy)
3284f21e91 Fix remind for expired membership ko when date of renewal does not end
with 00:00:00
2024-12-02 01:30:13 +01:00
Gregor Ljubic
ea52f679c7
Fix #32147 (#32159)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-12-02 00:49:13 +01:00
Günter Lukas
4962dd1a81
Fix #29353 (#32151)
Hidden extrafields are NULL on update. Can only happen with extrafields in positions of commercial elements (facture, propal, commande, etc)
2024-12-02 00:48:13 +01:00
Mohamed DAOUD
b8089532ff
Enhance Custom Report Filter Editor (#32154)
* Enhance filter editor

* add trans keys

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-12-01 23:32:32 +01:00
Günter Lukas
06808b38b5
Fix #27223 (#32173) 2024-12-01 23:29:42 +01:00
Mathieu Moulin
6337a987d8
Fix handling of boolean extrafields in list filters (#32109)
* Fix show payment URL in massaction context when not one email per recipient

* Debug v20 - fix param for filter on boolean

* FIX : Fix case when the value of a extrafields of the type 'boolean', 'select' or other have an option with a value equal to '0'.
It's not reselected when the filter is set.

* Revert "Fix show payment URL in massaction context when not one email per recipient"

This reverts commit 0986d487f1946dd90686dc9c38f89a5f04a37162.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: kkhelifa <kkhelifa@open-dsi.fr>
2024-12-01 23:28:49 +01:00
Norbert Penel
f6fe770695
Add extrafield support on API for expensereport.class.php (#32184)
* Add extrafield support on API for expensereport.class.php

https://github.com/Dolibarr/dolibarr/issues/29178

* Update expensereport.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-12-01 23:24:27 +01:00
Jon Bendtsen
e22ec699c0
FIX better error when api tempdir is not writeable (#32150)
* When api/temp folder does not exist or isn't writeable dol_syslog what the folder is and print where to find that information

* flipping line order

* putting suslog line first

* back to original print

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2024-12-01 23:18:38 +01:00
Gregor Ljubic
2ad3001ccb
Update list.php (#32165)
* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-12-01 23:17:37 +01:00
Gregor Ljubic
13fdf790d6
Update list.php (#32164)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-12-01 23:17:00 +01:00
Joachim Kueter
cf0d945daa
FIX #32171 (#32172)
State of reverse charge checkbox in create form not persisted after reload due to validation error
2024-12-01 23:16:38 +01:00
Günter Lukas
5565b153b2
Fix #32176 (#32177) 2024-12-01 23:15:58 +01:00
Frédéric FRANCE
01297eeb86
fix phpstan (#32188)
* fix phpstan

* fix typos

* add phpdoc

* cut long line
2024-12-01 23:15:27 +01:00
Laurent Destailleur (aka Eldy)
e2f6c68063 Debug v21 - Restore common behaviour of other objects. 2024-12-01 23:13:50 +01:00
Norbert Penel
ad1bcc7932
Fix missing linkedObjectsIds on order API (#32175)
https://github.com/Dolibarr/dolibarr/issues/32096
2024-12-01 23:06:07 +01:00
Frédéric FRANCE
ea8f449d1d
fix phpstan (#32187)
* wip

* fix phpstan

* fix phpstan

* fix phpstan
2024-12-01 23:04:40 +01:00
Alexandre Janniaux
b02742ebe1
FIX #32178: repair.php: fix missing 'as' with Postgres (#32179)
Fix the following SQL error when executing the repair script on 19.0.x
and above.

        Error DB_ERROR_SYNTAX (Req 159): create table tmp_bank_url_expense_user (select e.fk_user_author, bu2.fk_bank from llx_expensereport as e, llx_bank_url as bu2 where bu2.url_id = e.rowid and bu2.type = 'payment_expensereport');
        ERROR: 42601: syntax error at or near "select" LINE 1: create table tmp_bank_url_expense_user (select e.fk_user_aut... ^ LOCATION: scanner_yyerror, scan.l:1145
2024-12-01 23:03:08 +01:00
Frédéric FRANCE
51c2e8973b
fix phpstan (#32185)
* fix phpstan

* remove multiple fetch not needed
2024-12-01 23:02:36 +01:00
Laurent Destailleur (aka Eldy)
8f486591b2 Complete log 2024-12-01 22:06:38 +01:00
Laurent Destailleur (aka Eldy)
58ddb40d67 Trans 2024-12-01 21:28:07 +01:00