diff --git a/sale_fixed_discount/models/sale_order_line.py b/sale_fixed_discount/models/sale_order_line.py index 4692a5f6def..a66935852fa 100644 --- a/sale_fixed_discount/models/sale_order_line.py +++ b/sale_fixed_discount/models/sale_order_line.py @@ -83,7 +83,9 @@ def _compute_discount(self): lines_with_discount_fixed = self.filtered(lambda sol: sol.discount_fixed) for line in lines_with_discount_fixed: line.discount = line._get_discount_from_fixed_discount() - return super(SaleOrderLine, self - lines_with_discount_fixed) + return super( + SaleOrderLine, self - lines_with_discount_fixed + )._compute_discount() def _get_discount_from_fixed_discount(self): """Calculate the discount percentage from the fixed discount amount."""