New: Add PRODUCT_PRICE_MODIFY trigger
This commit is contained in:
parent
4f056c707c
commit
a3ecb1203b
@ -1027,6 +1027,16 @@ class Product extends CommonObject
|
|||||||
$this->localtax2_tx = $localtax2;
|
$this->localtax2_tx = $localtax2;
|
||||||
|
|
||||||
$this->_log_price($user,$level);
|
$this->_log_price($user,$level);
|
||||||
|
|
||||||
|
// Appel des triggers
|
||||||
|
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
|
||||||
|
$interface=new Interfaces($this->db);
|
||||||
|
$result=$interface->run_triggers('PRODUCT_PRICE_MODIFY',$this,$user,$langs,$conf);
|
||||||
|
if ($result < 0)
|
||||||
|
{
|
||||||
|
$error++; $this->errors=$interface->errors;
|
||||||
|
}
|
||||||
|
// Fin appel triggers
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user