Skip to content
Snippets Groups Projects
Commit 649f535d authored by Florian Henry's avatar Florian Henry
Browse files

delete extrafield on delete invoice

parent 76256294
No related branches found
No related tags found
No related merge requests found
......@@ -1252,6 +1252,16 @@ class Facture extends CommonInvoice
}
// Fin appel triggers
}
// Removed extrafields
if (! $error) {
$result=$this->deleteExtraFields();
if ($result < 0)
{
$error++;
dol_syslog(get_class($this)."::delete error deleteExtraFields ".$this->error, LOG_ERR);
}
}
if (! $error)
{
......
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