Fix: reset fk_code_ventilation on invoice clone (#38084)
This commit is contained in:
parent
3fa5112ca8
commit
eb5e550490
1 changed files with 3 additions and 0 deletions
|
|
@ -1359,6 +1359,9 @@ class Facture extends CommonInvoice
|
|||
}
|
||||
|
||||
$object->lines[$i]->ref_ext = ''; // Do not clone ref_ext
|
||||
|
||||
// Do not clone accountancy ventilation: a cloned invoice must reappear in "to dispatch" list
|
||||
$object->lines[$i]->fk_code_ventilation = 0;
|
||||
}
|
||||
|
||||
// Create clone
|
||||
|
|
|
|||
Loading…
Reference in a new issue