[BUGFIX] Allow update of extra fields
This is to make supplier invoices consistent with other similar classes
This commit is contained in:
parent
f546103c01
commit
91fbccb594
@ -977,6 +977,15 @@ class FactureFournisseur extends CommonInvoice
|
||||
}
|
||||
}
|
||||
|
||||
if (! $error && empty($conf->global->MAIN_EXTRAFIELDS_DISABLED) && is_array($this->array_options) && count($this->array_options)>0)
|
||||
{
|
||||
$result=$this->insertExtraFields();
|
||||
if ($result < 0)
|
||||
{
|
||||
$error++;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$error)
|
||||
{
|
||||
if (!$notrigger)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user