* 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>
* 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>
* 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>
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
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)