From 9bdc237e5f63ef5a77370d0f8994fb9268b7a462 Mon Sep 17 00:00:00 2001 From: Nathan <130627685+nathanpixodeo@users.noreply.github.com> Date: Wed, 24 Jun 2026 01:29:14 +0700 Subject: [PATCH] fix: preserve supplier deposit discount currency (#38966) Co-authored-by: nathnanpixodeo Co-authored-by: Laurent Destailleur --- htdocs/fourn/class/paiementfourn.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/fourn/class/paiementfourn.class.php b/htdocs/fourn/class/paiementfourn.class.php index efd0c758254..5394baf756f 100644 --- a/htdocs/fourn/class/paiementfourn.class.php +++ b/htdocs/fourn/class/paiementfourn.class.php @@ -314,6 +314,8 @@ class PaiementFourn extends Paiement $discount->fk_soc = $invoice->socid; $discount->socid = $invoice->socid; $discount->fk_invoice_supplier_source = $invoice->id; + $discount->multicurrency_code = $invoice->multicurrency_code; + $discount->multicurrency_tx = $invoice->multicurrency_tx; // Loop on each vat rate $i = 0;