diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 10f3282ba90..9f7200b6c73 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -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;