Fix: Restore ability to create order on proposal close
This commit is contained in:
parent
8348de5591
commit
eee0d1aa07
@ -115,7 +115,7 @@ class InterfacePropalWorkflow
|
||||
{
|
||||
$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
|
||||
if ($object->statut == 2)
|
||||
@ -177,7 +177,7 @@ class InterfacePropalWorkflow
|
||||
if ($result < 0) $error++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (! $error)
|
||||
{
|
||||
// Ne pas passer par la commande provisoire
|
||||
|
||||
Loading…
Reference in New Issue
Block a user