Wrong trigger when setting supplier invoice back to draft
This commit is contained in:
parent
4c3255857c
commit
eb452397bd
@ -1260,7 +1260,7 @@ class FactureFournisseur extends CommonInvoice
|
|||||||
if (! $error && empty($notrigger))
|
if (! $error && empty($notrigger))
|
||||||
{
|
{
|
||||||
// Call trigger
|
// Call trigger
|
||||||
$result=$this->call_trigger('BILL_SUPPLIER_VALIDATE',$user);
|
$result=$this->call_trigger('BILL_SUPPLIER_UNVALIDATE',$user);
|
||||||
if ($result < 0) $error++;
|
if ($result < 0) $error++;
|
||||||
// End call triggers
|
// End call triggers
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user