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

This commit is contained in:
Christophe Battarel 2015-10-08 15:58:19 +02:00
parent 606a3f9917
commit 00f0aff6f0

View File

@ -881,6 +881,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 = '';