Merge pull request #3741 from fmarcet/3.8

FIX #3689 Bug on workflow module
This commit is contained in:
Laurent Destailleur 2015-10-15 13:09:43 +02:00
commit e79fe7401f

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;
}
/** /**