From bfc8e9b20e440ceef645e3e10c48d259adb73b3d Mon Sep 17 00:00:00 2001 From: RemiFr82 Date: Fri, 15 Dec 2023 01:52:57 +0100 Subject: [PATCH] [FIX] mig v16.0 --- membership_initial_discount/models/account_move_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",