From 4e95aab6b5a9879df601dc3eb4d9b0d895ff9284 Mon Sep 17 00:00:00 2001 From: HENRY Florian Date: Tue, 27 May 2025 15:58:28 +0200 Subject: [PATCH] fix: On Clone Invoice, ref_customer is not clean (#34296) --- htdocs/compta/facture/class/facture.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 4ed4c96a4a0..3b66ea86e28 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -1294,6 +1294,7 @@ class Facture extends CommonInvoice $object->date_modification = ''; $object->date_validation = ''; $object->ref_client = ''; + $object->ref_customer = ''; $object->close_code = ''; $object->close_note = ''; if (getDolGlobalInt('MAIN_DONT_KEEP_NOTE_ON_CLONING') == 1) {