FIX 17.0: when you clone an invoice that was created from a template invoice, the clone should not be linked to the template invoice (#34777)
This commit is contained in:
parent
3c1b5846c9
commit
bc33f7e1a7
1 changed files with 1 additions and 0 deletions
|
|
@ -1255,6 +1255,7 @@ class Facture extends CommonInvoice
|
|||
$object->user_valid = null; // deprecated
|
||||
$object->fk_user_author = $user->id;
|
||||
$object->fk_user_valid = null;
|
||||
$object->fk_fac_rec_source = null;
|
||||
$object->fk_facture_source = 0;
|
||||
$object->date_creation = '';
|
||||
$object->date_modification = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue