test constant for keeping customer ref on clone of order like in propal
This commit is contained in:
parent
661a984b8e
commit
1b9cdd021a
@ -1116,7 +1116,7 @@ class Commande extends CommonOrder
|
||||
$this->date_commande = dol_now();
|
||||
$this->date_creation = '';
|
||||
$this->date_validation = '';
|
||||
$this->ref_client = '';
|
||||
if (empty($conf->global->MAIN_KEEP_REF_CUSTOMER_ON_CLONING)) $this->ref_client = '';
|
||||
|
||||
// Create clone
|
||||
$this->context['createfromclone'] = 'createfromclone';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user