Corrected fix

This commit is contained in:
Marcos García 2015-11-25 10:19:11 +01:00
parent e8fc5f0d3a
commit a30f7d543a

View File

@ -765,6 +765,8 @@ class CommandeFournisseur extends CommonOrder
if (! $error)
{
$this->ref = $this->newref;
if ($movetoapprovestatus) $this->statut = 2;
else $this->statut = 1;
if (empty($secondlevel)) // standard or first level approval