L'appel des triggers se fait une fois tous les traitement mtiers interne termins
This commit is contained in:
parent
07c08da793
commit
e0f248c291
@ -1543,14 +1543,14 @@ class Facture extends CommonObject
|
||||
return -1;
|
||||
}
|
||||
|
||||
$result=$this->update_price($this->id);
|
||||
|
||||
// Appel des triggers
|
||||
include_once(DOL_DOCUMENT_ROOT . "/interfaces.class.php");
|
||||
$interface=new Interfaces($this->db);
|
||||
$result = $interface->run_triggers('LINEBILL_DELETE',$this,$user,$langs,$conf);
|
||||
// Fin appel triggers
|
||||
|
||||
$result=$this->update_price($this->id);
|
||||
|
||||
$this->db->commit();
|
||||
|
||||
return 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user