Commit graph

145774 commits

Author SHA1 Message Date
ldestailleur
c13f736ab4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-22 17:29:56 +02:00
ldestailleur
17a0ec87fe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-22 17:25:29 +02:00
ldestailleur
743ca4bb03 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-06-22 17:19:41 +02:00
ldestailleur
5042c0959e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-22 17:16:51 +02:00
ldestailleur
68a373b6c2 Fiw warning 2025-06-22 13:22:01 +02:00
ldestailleur
23004a7999 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-22 13:00:55 +02:00
Pichi1966
9f76298e58
FIX BankTransfer information in line.php (#34425)
* Prepare 18.0.7

* FIX BankTransfer information in line.php

FIX BankTransfer information in line.php

This is too fix a wrong information in line.php.
The mention of WithDrawalsReceipts instead of BankTransfers is wrong information

* Suppress Tab in line.php

---------

Co-authored-by: VESSILLER <lvessiller@open-dsi.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 12:57:33 +02:00
Pichi1966
f1ecb023ff
FIX BankTransfer link in rejets.php (#34424)
* Prepare 18.0.7

* FIX BankTransfer link in rejets.php

FIX BankTransfer link in rejets.php
This is to fix a wrong action link in rejets.php.
The link was sending to a WithDrawals screen creating confusion.

---------

Co-authored-by: VESSILLER <lvessiller@open-dsi.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 12:57:09 +02:00
Marc de Lima Lucio
f3ae9f53f7
FIX: product multiprices: fatal error on vat update on php 8.2 (#34444)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 12:54:42 +02:00
lvessiller-opendsi
ce1243140f
FIX js warning (Backport commit 84d982c) (#34555)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 12:49:52 +02:00
apsolauv
b851a70402
Added the possibility of making negative credit notes. Use case: several VATs in the invoice with a negative product, then creation of a credit note and charging to account. (#34529)
Co-authored-by: Alex SOLAUV <test@test.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 12:43:52 +02:00
ldestailleur
c6da032c9a Fix merge 2025-06-22 12:42:44 +02:00
ldestailleur
0e6919c269 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-22 12:41:44 +02:00
ldestailleur
60e595ff24 FIX #34442 2025-06-22 12:41:32 +02:00
Charlène Benke
bec0e9983f
create invoice and order categorie table when we enable it (#34450)
* create invoice and order categorie table if not enabled

* Update modFacture.class.php

* Update modCommande.class.php

* Update modCategorie.class.php

* Update modCommande.class.php

* Update modFacture.class.php

* Update modCategorie.class.php

* Update modCommande.class.php

* Update modFacture.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 12:13:16 +02:00
William Mead
64ab2cc512
NEW expense report API approve (#34508)
* Added expense report approve route

* Fixed permission

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 03:00:19 +02:00
ldestailleur
34b3096b21 Merge #34508 2025-06-22 02:59:28 +02:00
ldestailleur
8215aedfff Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-22 02:57:35 +02:00
ldestailleur
1ba0da0dd6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-06-22 02:57:26 +02:00
William Mead
329f95eaa4
Added expense report deny route (#34509)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-22 02:56:22 +02:00
Charlène Benke
10c9c41526
COMPANY_ELEPHANT_DATE_START_ENABLE Checkbox not save (#34516)
* COMPANY_ELEPHANT_DATE_START_ENABLE Checkbox not save

* Update mod_codeclient_elephant.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-21 16:50:45 +02:00
ldestailleur
b006062bc9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-21 16:50:28 +02:00
ldestailleur
1c3687b292 Fix CI 2025-06-21 16:50:14 +02:00
Marc de Lima Lucio
79afbab095
FIX: email collector: php 8 warning (#34496)
* FIX: email collector: php 8 warning

* FIX: email collector: php 8 warning, part 2

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-21 16:18:40 +02:00
apsolauv
88e78d1667
Fix return type and error type getSumCreditNotesUsed (#34527)
Co-authored-by: Alex SOLAUV <test@test.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-21 16:16:47 +02:00
Maxime Kohlhaas
ec989f7f6f
Fix : wrong URL construction (#34531) 2025-06-21 16:10:52 +02:00
kkhelifa-opendsi
79a6825e6f
FIX - Add others allowed tags (table, tr, td) for the prices history table displayed in the link url of the supplier product in supplier product prices list (#34532)
* FIX - Add others allowed tags (table, tr, td) for the prices history table displayed in the link url of the supplier product in supplier product prices list

* Fix

* Fix
2025-06-21 16:10:26 +02:00
HENRY Florian
931384db35
fix: manage correctly external module object link with myobject@mymodule element type (#34530)
* fix: manage correctly external module object link with myobject@mymodule element type

* add more doc in template module builder

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-21 16:09:54 +02:00
ldestailleur
dc641d7380 Debug v22 2025-06-21 15:29:54 +02:00
Maxime Kohlhaas
4f3a0177c6
Fix : in messaging view, the event status was missing (#34533) 2025-06-21 15:18:27 +02:00
ldestailleur
aa56fb6491 Doc 2025-06-21 14:54:53 +02:00
Vincent Maury
f073963e15
Fix 34336 no mail sent to validator after sending for approval (#34562) 2025-06-21 14:42:27 +02:00
ldestailleur
cf8beb8505 Fix error return 2025-06-21 14:39:53 +02:00
Alexandre Janniaux
1a3430f40a
commonobject: updateLineDown: use early return on query failure (#34598)
Simplify the code by early returning on query failure, which removes
almost every indentation level of the function.

It also highlights some important flaws here, since there is a return
without value (void return type) between the two queries if an error
happened, which would indicate the first query failed and nothing was
registered, but also an error check leading to printing an error message
if the second query fails, without actually reverting the first one, and
since there is no error code, there's no way to trigger a db->rollback()
from the caller code for this reason.
2025-06-21 14:36:07 +02:00
Marc
52c827c2bb
FIX #34541 (#34597) 2025-06-21 14:35:20 +02:00
Alexandre Janniaux
1113ae6dc1
Qual: Commonobject reverse happy path (#34599)
* commonobject: getRangOfLine: reverse happy and error path

* commonobject: getIdOfLine: reverse error and happy path
2025-06-21 14:35:01 +02:00
github-actions[bot]
5ea28763e5
PHPStan > Update baseline (#34601)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-06-21 14:34:28 +02:00
William Mead
e35e1d76e1
QUAL Updated agenda events API PHPDoc (#34558)
* Fixed mandatory fields

* Updated PHPDoc. Added contributor details.

* Updated PHPDoc

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-20 20:13:10 +02:00
ldestailleur
9b7fee42e3 Clean code 2025-06-20 16:45:49 +02:00
ldestailleur
b8de0358c0 Fix use of distinct. 2025-06-20 16:42:22 +02:00
HENRY Florian
7384959f38
FIX: filter agenda on user and ressource SQL error (#34580) 2025-06-20 16:25:00 +02:00
ldestailleur
3a04ba15c7 Fix trans 2025-06-20 16:21:08 +02:00
Marc
32051ee77d
FIX #34564 (#34590) 2025-06-20 16:19:17 +02:00
ldestailleur
955fc158ee Fix CI 2025-06-20 16:17:54 +02:00
ldestailleur
7ed2cddd4b Fix CI 2025-06-20 16:16:04 +02:00
Frédéric FRANCE
7c0604047e
fix missing translation (#34587)
* fix missing translation

* fix missing translation
2025-06-20 15:48:58 +02:00
Marc de Lima Lucio
96eddc1729
NEW: dev tools: add github webhook handler to auto-assign pull requests (#34579)
* NEW: dev tools: add github webhook handle to auto-assign pull requests

* FIX: ci

* FIX: comment

* FIX: ci

* FIX: forgotten param + ci

* FIX: ci

* FIX: ci
2025-06-20 15:45:31 +02:00
Günter Lukas
603f46a173
Fix #34593 (#34594)
* Fix #34593

* Fix whitespace

* Fix phpstan error

* undi fix in dolibarrtriggers.class.php

* Fix #34593
2025-06-20 15:43:39 +02:00
ldestailleur
446efdc432 Clean dead code 2025-06-20 14:00:29 +02:00
ldestailleur
2a85b73fa2 Add MULTICURRENCY_SHOW_ALSO_MAIN_CURRENCY_ON_PDF for legal requirement
that need both currencies on PDF
2025-06-20 14:00:14 +02:00