Merge pull request #3741 from fmarcet/3.8
FIX #3689 Bug on workflow module
This commit is contained in:
commit
e79fe7401f
@ -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