Commit graph

151292 commits

Author SHA1 Message Date
Jon Bendtsen
30a9da8fbf
Merge branch '18.0' into v18_Updating_Invoice_Notes_32134 2024-12-02 07:31:35 +01:00
Jon Bendtsen
e6712300d5 phan fix, remove code never reached 2024-12-02 07:29:18 +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
Frédéric FRANCE
32b5a3cce0
Merge branch 'develop' into phpstan_fix_20241123 2024-12-01 19:17:15 +01:00
Pichi1966
7e3624ee27
Clean Spaces versu tab 2024-12-01 19:08:53 +01:00
Pichi1966
89fc9ac8ea
FIX Accounting Closure Duplicates and more Update bookkeeping.class.php
FIX I did further testing and investigation and I fixed the following issues that stop doing a full closure without duplicate lines generated by an unclean database :

    - different label_compte with same account number
    - removing label_compte is raising an issue and the code in the line around 2770 $bookkeeping->label_compte = $obj->label_compte;
    - different subledger_label with same subledger_account
    - empty versus null values for subledger_label and subledger_account
    - opening_balance is 0 as it creates a bookkeeping entry for now.  

FIX - Update Accounting closure with missing too many A-Nouveau #30039)
2024-12-01 18:55:31 +01:00
Laurent Destailleur (aka Eldy)
98b7e88c64 Debug v21 2024-12-01 17:46:22 +01:00
Laurent Destailleur (aka Eldy)
f5ef2eee49 Debug v21 2024-12-01 15:47:01 +01:00
Laurent Destailleur (aka Eldy)
2388da4e31 Debug v21 2024-12-01 15:21:38 +01:00
Laurent Destailleur (aka Eldy)
9d62336c95 Doc 2024-12-01 15:12:51 +01:00
Laurent Destailleur (aka Eldy)
f933d0f636 Missing the placeholder 2024-12-01 15:09:27 +01:00
Jon Bendtsen
7a500976d2
Merge branch '18.0' into v18_Updating_Invoice_Notes_32134 2024-12-01 10:27:43 +01:00
Jon Bendtsen
0e1744a6ec throw RestException(500) if update of invoice fails #32134 2024-12-01 10:24:25 +01:00
Frédéric FRANCE
462101289e
Merge branch 'develop' into fix_updatelines_propal 2024-11-30 21:06:27 +01:00
Günter Lukas
769027970b
Fix #32155 (#32156)
Error forging a SQL request on page eventorganization/conferenceorboothattendee_list.php

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-30 17:18:18 +01:00
Laurent Destailleur (aka Eldy)
6e4ca0b851 FIX with no perm on supplier, must not see supplier of the best price 2024-11-30 16:27:29 +01:00
Laurent Destailleur (aka Eldy)
ac231f49df FIX with no perm on supplier, must not see supplier of the best price 2024-11-30 16:27:00 +01:00
Laurent Destailleur (aka Eldy)
b56ac12093 The $empty param must follow same rules than other select component. 2024-11-30 14:24:13 +01:00
Laurent Destailleur (aka Eldy)
4337141b04 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-30 14:02:54 +01:00
Laurent Destailleur (aka Eldy)
0ae5a7b46e Debug v21 2024-11-30 14:02:37 +01:00
Laurent Destailleur (aka Eldy)
37c7eb894b Debug v21 2024-11-30 13:58:09 +01:00
Laurent Destailleur (aka Eldy)
be9d72e3b6 The $empty param must follow same rules than other select component. 2024-11-30 13:44:24 +01:00
Günter Lukas
c01ab2b7ea
Update card.php 2024-11-30 13:36:13 +01:00
Günter Lukas
23617a11fc
Update card.php 2024-11-30 13:34:17 +01:00