Commit Graph

145227 Commits

Author SHA1 Message Date
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
Norbert Penel
ddf3431b81 Allow various format of dates on API paiement
https://github.com/Dolibarr/dolibarr/issues/32111
2024-11-30 13:31:53 +01:00
Joachim Kueter
18775c06ea FIX #31890 store empty line extrafields (#32152)
* FIX #31890 store empty line extrafields

If a line extrafield had originally some contents, after deleting it and submitting it as empty, the extrafield was not stored but the original contents kept

* corrected whitespace
2024-11-30 13:06:36 +01:00
Joachim Kueter
53f566e9f1 Fix #32145 (#32162)
Parameter is always "1" or "0"
2024-11-30 13:02:58 +01:00
Frédéric FRANCE
63e5e0ab77 add phpdoc (#32139)
* add phpdoc

* clean baseline
2024-11-30 12:55:27 +01:00
Laurent Destailleur (aka Eldy)
39b63052da Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-30 12:53:31 +01:00
Laurent Destailleur (aka Eldy)
51611489be Debug v21 2024-11-30 12:52:57 +01:00
Frédéric FRANCE
f2c2b634e3 fix CI (#32153) 2024-11-30 12:51:38 +01:00
Günter Lukas
677525a663 Update card.php 2024-11-30 11:08:17 +01:00
Günter Lukas
f5d639b841 Update card.php 2024-11-30 11:04:35 +01:00
Günter Lukas
fe3fb72e5e Fix #32161 2024-11-30 10:54:32 +01:00
Günter Lukas
9dcabdbab6 Fix #32158 2024-11-30 10:05:48 +01:00
Laurent Destailleur (aka Eldy)
5e6ab79990 Fix remove hard constraint that must be soft constraints. 2024-11-29 18:42:12 +01:00
Laurent Destailleur (aka Eldy)
ca5335a719 Fix migration 2024-11-29 18:13:06 +01:00
Lucas Marcouiller
1080d0718c Fix no display of extrafields in bankentries_list (#32149)
* Fix no display of extrafields in bankentries_list

* fix error

* fix comment

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-29 17:03:25 +01:00
Laurent Destailleur (aka Eldy)
dd67fe7b6d Fix duplicate record 2024-11-29 16:58:39 +01:00