Skip to content
Snippets Groups Projects
Commit a3ecb120 authored by Juanjo Menent's avatar Juanjo Menent
Browse files

New: Add PRODUCT_PRICE_MODIFY trigger

parent 4f056c70
No related branches found
No related tags found
No related merge requests found
......@@ -1027,6 +1027,16 @@ class Product extends CommonObject
$this->localtax2_tx = $localtax2;
$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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment