FIX #3689 Bug on workflow module
This commit is contained in:
parent
ff1f7f1a48
commit
4cdf17d8b5
@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user