Fix wrong trigger in supplier order

This commit is contained in:
Ion Agorria 2016-09-15 23:45:13 +02:00
parent 621ba7b76f
commit 54756ef729

View File

@ -3089,7 +3089,7 @@ class CommandeFournisseurLigne extends CommonOrderLine
if (! $error && ! $notrigger)
{
// Call trigger
$result=$this->call_trigger('LINEORDER_INSERT',$user);
$result=$this->call_trigger('LINEORDER_SUPPLIER_CREATE',$user);
if ($result < 0) $error++;
// End call triggers
}