FIX: change order date on clone (as everywhere else)

This commit is contained in:
Christophe Battarel 2015-11-05 15:36:13 +01:00
parent f08d52b0e8
commit ad82135879

View File

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