Skip to content
Snippets Groups Projects
Commit 029394aa authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Fix : linked object not deleted when deleting a supplier invoice

parent 7b538669
No related branches found
No related tags found
No related merge requests found
......@@ -617,6 +617,13 @@ class FactureFournisseur extends CommonInvoice
else {
$error++;
}
if (! $error)
{
// Delete linked object
$res = $this->deleteObjectLinked();
if ($res < 0) $error++;
}
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