FIX #3689 Bug on workflow module

This commit is contained in:
fmarcet 2015-10-15 12:17:57 +02:00
parent ff1f7f1a48
commit 4cdf17d8b5

View File

@ -1045,9 +1045,7 @@ class Commande extends CommonOrder
$error=0; $error=0;
// Signed proposal
if ($object->statut == 2)
{
$this->date_commande = dol_now(); $this->date_commande = dol_now();
$this->source = 0; $this->source = 0;
@ -1154,8 +1152,6 @@ class Commande extends CommonOrder
} }
else return -1; else return -1;
} }
else return 0;
}
/** /**