6096 Commits

Author SHA1 Message Date
nateogroup-antoine
e62d193997 FIX deprecated statut variable and reload object (#37449)
* Fixed a bug that initialized the deprecated status variable without initializing the new status variable.

Upon quote approval, the interface is based on “status” rather than “statut.” The approved quote still had the edit button visible.

* Fix reload object if not MAIN_DISABLE_PDF_AUTOUPDATE after addline or updateline

Fix reload object if not MAIN_DISABLE_PDF_AUTOUPDATE after addline or updateline

* Update card.php
2026-03-12 14:04:59 +01:00
Laurent Destailleur
a8b4e5d141 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-10 19:56:16 +01:00
Laurent Destailleur
7e203114eb Disable featureof rule for lines date too buggied.
Substitution date are corrupted by bad date values and feature speak
about payments/prepayments when this is just related to date!
2026-03-09 10:38:56 +01:00
Laurent Destailleur
4ad6d1b5b3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-03-09 09:55:09 +01:00
Laurent Destailleur
baa1359021 FIX Bad value when entering price with multicurrency included tax.
Debug option PRODUCT_USE_CUSTOMER_PACKAGING not completely implemented
2026-03-06 01:21:04 +01:00
Laurent Destailleur
3dfce11ae8 Merge 2026-03-05 00:42:13 +01:00
Laurent Destailleur
a0b7852d65 Fix missing link to list of events 2026-03-04 14:16:40 +01:00
Laurent Destailleur
6a12f5c6d5 Clean code 2026-03-03 20:13:58 +01:00
minimexat
175e677f2a fix: use client language for recurring invoice PDF generation (#37377)
When generating PDF for recurring invoices via cron, the system was
using the global $langs (system language) instead of the client's
configured default language.

Now uses the thirdparty's default_lang when MAIN_MULTILANGS is enabled,
matching the same behavior used in manual invoice PDF generation.

Fixes Dolibarr/dolibarr#27022
2026-03-02 05:57:28 +01:00
Laurent Destailleur
a9c85c78e2 Automated merge from 23.0 to develop 2026-02-28 12:17:11 +01:00
Laurent Destailleur
6a458223b1 Automated merge from 22.0 by tool pullmerge.sh 2026-02-28 11:31:01 +01:00
Anthony Berton
ce02010542 FIX - Show POS in Order and Invoice list (#37364)
* FIX - Show POS in Order and Invoice list

* Update list.php

* Change $showpos value type from int to string

* Refactor POS fields visibility logic

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 17:15:41 +01:00
Laurent Destailleur
7acb0e0d4d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-27 14:36:22 +01:00
Laurent Destailleur
77ba059635 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-27 14:35:48 +01:00
atm-jonathan
82ed704060 FIX duplicate str_replace() (#37355)
* duplcate str_replace()

* update addline and updateline logic TVA NPR
2026-02-27 14:30:06 +01:00
Laurent Destailleur
bde08e0868 Merge v23 2026-02-25 19:18:10 +01:00
Lucky
db3df89ee2 New options for withdraw control (#37179)
* New options for withdraw control

Add a new option "WITHDRAW_STRICT_CHECK_AMOUNT"
Transfer request control is based solely on the supplier invoice amount:
By default, once a request is made, even if its amount is less than the invoice amount, no additional requests can be made until the original request is validated (integrated into a transfer slip).
With this option, the control is applied to the sum of all requests, even if they are not integrated into a SEPA transfer slip.
The control verifies that the total sum of the requests never exceeds the invoice total.
By default, one or more requests exceeding the invoice amount can be entered; this option prevents this behavior.

This behavior is more logical and user-friendly, especially when transfer requests are made by technicians or buyers and the SEPA files are created by the accounting department.

* fix

* Update commoninvoice.class.php

* fichier lang

* Cast remaining amounts to float for precision

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 18:06:31 +01:00
ATM-NicolasV
11e25b25fb New/add support microsoft exchange oauth (#37329)
* backport de la liste des ressources v23

* fix oauth api conexion

* fix oauth api conexion

* fix oauth api conexion

* Fix CI

* fix: in some case on create invoice when create PDF the lang is not correcly defined because ->thirdparty is not set (#37287)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* add microsoft exchange oauth

* add microsoft exchange oauth

* add microsoft exchange oauth

* add microsoft exchange oauth

* add microsoft exchange oauth

* Revert unintended changes to resource list

* Tidy OAuth logging and consent prompt

* Fix PHPCS blank line warnings

---------

Co-authored-by: ATM-Lucas <lucas.mantegari@atm-consulting.fr>
Co-authored-by: VIAL-GOUTEYRON Quentin <quentin.vial-gouteyron@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: HENRY Florian <florian.henry@open-concept.pro>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 17:48:29 +01:00
HENRY Florian
d6f4bf8f03 fix: in some case on create invoice when create PDF the lang is not correcly defined because ->thirdparty is not set (#37287)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 02:10:32 +01:00
William Mead
9560eb00bd Updated PHPDoc with since tag (#37299)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 00:40:39 +01:00
Laurent Destailleur
1a83124ca6 FIX closing an deposit invoice when payment was too high. 2026-02-12 00:38:04 +01:00
Alexandre SPANGARO
39b251f3ca FIX #36735 Invoice & Supplier invoice - Inconsistency of fk_code_ventilation for lines (FactureLigne & SupplierInvoiceLine) (#36792) 2026-01-05 13:28:09 +01:00
Laurent Destailleur
3d55a7a792 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-22 15:11:32 +01:00
Frédéric FRANCE
ec46ff9b10 fix search import key filter not working 2025-12-18 13:28:16 +01:00
Laurent Destailleur
dea8957ec0 Merge pull request #36622 from rlaurent-alb/22.0
FIX | Fixing addPayment /invoices/id/payments
2025-12-15 14:25:24 +01:00
splohmer
65134e0746 FIX: SQL error for LIST_OF_QUALIFIED_INVOICES_LIMIT_DEFINED
sql error fix for mentioned secret parameter
2025-12-15 11:12:07 +01:00
Rayan LAURENT
77f4fc7b76 FIX | Fixing addPayment /invoices/id/payments
Fixing the API route as it is currently impossible to pay a Facture::TYPE_CREDIT_NOTE with this route (it keeps negating the ttc amount used as resteapayer), inspired by the other route /paymentsdistributed, line 1717.
2025-12-11 18:48:18 +01:00
Laurent Destailleur
4ea6af9535 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-12-05 16:38:15 +01:00
Laurent Destailleur
2e46ac45c5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-12-05 16:34:02 +01:00
Laurent Destailleur
a098185476 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-12-05 16:27:07 +01:00
Laurent Destailleur
222cd76799 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-12-04 18:53:04 +01:00
Florian HENRY
a38ffa02ac fix: subtotal feature button availablity according setup 2025-12-04 10:18:01 +01:00
Eric - CAP-REL
2ebdcfda5c Merge pull request #35788 from Easya-Solutions/18_allow_credit_invoice_on_situation
FIX : remove useless condition to create credit on situation invoice …
2025-12-04 09:56:30 +01:00
Regis Houssin
0aa6652005 FIX #35141 (#36390)
* FIX #35141

* FIX avoid problem with chinese language
2025-11-24 16:03:38 +01:00
VESSILLER
1cd3ca3222 FIX undefined variables on create invoice from shipment card (backport from v20) 2025-11-24 10:30:08 +01:00
Regis Houssin
0e1ac03fb0 FIX #36347 (#36358) 2025-11-21 11:15:34 +01:00
Laurent Destailleur
f4798ee87f Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-20 20:48:14 +01:00
Laurent Destailleur
9997e8ea44 Fix CI 2025-11-20 20:41:20 +01:00
Laurent Destailleur
1c6cc1a554 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-20 20:32:40 +01:00
Laurent Destailleur
934536a1e1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-20 20:28:30 +01:00
Laurent Destailleur
734ef58a2a Fix CI 2025-11-20 20:27:43 +01:00
Laurent Destailleur
10c0de4467 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-20 11:55:18 +01:00
Laurent Destailleur
ae131796d6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-20 11:51:51 +01:00
Laurent Destailleur
ecda16a5f6 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-11-20 11:48:23 +01:00
Laurent Destailleur
515a615915 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-11-20 11:44:40 +01:00
lvessiller-opendsi
4dcbd826e6 Merge pull request #35812 from Easya-Solutions/18__fix_situation_remove_from_cycle
FIX remove situation invoice from cycle
2025-11-20 10:03:02 +01:00
Florian Mortgat
8e30fc0bd1 FIX 19.0 - attachments upload dir for invoices not always determined correctly (doesn't always take multi-entity into account) (#36302) 2025-11-18 11:39:45 +01:00
Laurent Destailleur
e57703a6b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-14 15:42:25 +01:00
Marc de Lima Lucio
4528a3dac0 FIX: customer invoices: bad totals because of situation progress (#36253) 2025-11-14 15:39:07 +01:00
Laurent Destailleur
ff1e31d239 Merge 2025-11-07 18:53:37 +01:00