Merge pull request #10457 from atm-gauthier/8.0_FIX_commande_fourn_enabled
FIX : $conf->fournisseur->commande->enabled doesn't exist, we must use $conf->fournisseur->enabled
This commit is contained in:
commit
57e7df8acf
@ -175,7 +175,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
|
||||
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
|
||||
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);
|
||||
if (! empty($object->linkedObjects))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user