diff --git a/ext/3rd-party-addons/global_discount/models/invoice.py b/ext/3rd-party-addons/global_discount/models/invoice.py index 88f3654a..07c7a11f 100755 --- a/ext/3rd-party-addons/global_discount/models/invoice.py +++ b/ext/3rd-party-addons/global_discount/models/invoice.py @@ -59,4 +59,7 @@ class Invoice(models.Model): 'invoice_line_tax_ids': [(6, 0, taxes_ids)], 'sequence': 100, }) + + super()._onchange_invoice_line_ids() + return True diff --git a/ext/custom-addons/tz_dealer_discount/models/invoice.py b/ext/custom-addons/tz_dealer_discount/models/invoice.py index 60b2cc47..1a858bce 100644 --- a/ext/custom-addons/tz_dealer_discount/models/invoice.py +++ b/ext/custom-addons/tz_dealer_discount/models/invoice.py @@ -91,4 +91,7 @@ class Invoice(models.Model): 'layout_category_id':layout_category_id.id, 'sequence': 99999, }) + + super()._onchange_invoice_line_ids() + return True