Fix discount id
This commit is contained in:
parent
b42c87256c
commit
3dd11e1eaf
@ -1378,7 +1378,7 @@ if (empty($reshook))
|
||||
// Check if discount not already affected to another invoice
|
||||
if ($discount->fk_facture_line > 0)
|
||||
{
|
||||
unset($object->lines[$i]);
|
||||
$line->fk_remise_except = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user