diff --git a/membership_initial_discount/models/account_move_line.py b/membership_initial_discount/models/account_move_line.py index be8e0db..e9a0c17 100644 --- a/membership_initial_discount/models/account_move_line.py +++ b/membership_initial_discount/models/account_move_line.py @@ -17,7 +17,7 @@ class AccountMoveLine(models.Model): @api.onchange("product_id") def _inverse_product_id(self): - super()._onchange_product_id() + super()._inverse_product_id() for line in self: if not line.product_id or line.display_type in ( "line_section",