Fix: Restore ability to create order on proposal close

This commit is contained in:
Laurent Destailleur 2011-03-01 09:04:30 +00:00
parent 8348de5591
commit eee0d1aa07

View File

@ -115,7 +115,7 @@ class InterfacePropalWorkflow
{ {
$error=0; $error=0;
if (! empty($conf->commande->enabled) && ! empty($conf->PROPALE_AUTOCREATE_ORDER)) if (! empty($conf->commande->enabled) && ! empty($conf->WORKFLOW_PROPAL_AUTOCREATE_ORDER))
{ {
// Signed proposal // Signed proposal
if ($object->statut == 2) if ($object->statut == 2)
@ -177,7 +177,7 @@ class InterfacePropalWorkflow
if ($result < 0) $error++; if ($result < 0) $error++;
} }
} }
if (! $error) if (! $error)
{ {
// Ne pas passer par la commande provisoire // Ne pas passer par la commande provisoire