mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Merge pull request #6391 from ParisLiakos/develop
Wrong trigger when setting supplier invoice back to draft
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user