FIX : When cloning an order the order result from clone must be now

This commit is contained in:
Florian HENRY 2016-04-20 17:17:03 +02:00
parent 0ad971556b
commit 79f408feeb

View File

@ -985,6 +985,7 @@ class Commande extends CommonOrder
$this->user_author_id = $user->id; $this->user_author_id = $user->id;
$this->user_valid = ''; $this->user_valid = '';
$this->date = dol_now(); $this->date = dol_now();
$this->date_commande = dol_now();
$this->date_creation = ''; $this->date_creation = '';
$this->date_validation = ''; $this->date_validation = '';
$this->ref_client = ''; $this->ref_client = '';