2
0
forked from Wavyzz/dolibarr

Workflow is empty by default but can be modified with module workflow

This commit is contained in:
Laurent Destailleur
2011-03-01 09:37:54 +00:00
parent f33c9c00e0
commit f5b43e0d08
2 changed files with 31 additions and 23 deletions

View File

@@ -101,7 +101,7 @@ class InterfaceWorkflowManager
if ($action == 'PROPAL_CLOSE_SIGNED')
{
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
if (! empty($conf->commande->enabled) && ! empty($conf->WORKFLOW_PROPAL_AUTOCREATE_ORDER))
if (! empty($conf->commande->enabled) && ! empty($conf->global->WORKFLOW_PROPAL_AUTOCREATE_ORDER))
{
include_once(DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php');
$order = new Commande($this->db);