Merge pull request #5050 from FHenry/3.9

FIX : When cloning an order the order result from clone must be now
This commit is contained in:
Laurent Destailleur 2016-04-21 01:50:15 +02:00
commit ff140914c8

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 = '';