fix: On Clone Invoice, ref_customer is not clean (#34296)

This commit is contained in:
HENRY Florian 2025-05-27 15:58:28 +02:00 committed by GitHub
parent 4fb79ba8a1
commit 4e95aab6b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {