|
@@ -175,7 +175,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
|
|
dol_syslog( "Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id );
|
|
dol_syslog( "Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id );
|
|
|
|
|
|
// First classify billed the order to allow the proposal classify process
|
|
// First classify billed the order to allow the proposal classify process
|
|
- if (! empty($conf->fournisseur->commande->enabled) && ! empty($conf->global->WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_SUPPLIER_ORDER))
|
|
|
|
|
|
+ if (! empty($conf->fournisseur->enabled) && ! empty($conf->global->WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_SUPPLIER_ORDER))
|
|
{
|
|
{
|
|
$object->fetchObjectLinked('','order_supplier',$object->id,$object->element);
|
|
$object->fetchObjectLinked('','order_supplier',$object->id,$object->element);
|
|
if (! empty($object->linkedObjects))
|
|
if (! empty($object->linkedObjects))
|