Skip to content

Commit

Permalink
Update sale_fixed_discount/models/sale_order_line.py
Browse files Browse the repository at this point in the history
Co-authored-by: Denis Roussel (ACSONE) <rousseldenis@users.noreply.github.com>
  • Loading branch information
astirpe and rousseldenis committed Jun 23, 2024
1 parent 1505ef1 commit fe0bfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_fixed_discount/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _convert_to_tax_base_line_dict(self, **kwargs):
return super()._convert_to_tax_base_line_dict()

@api.depends(
"product_id", "product_uom", "product_uom_qty", "discount_fixed", "price_unit"
"discount_fixed", "price_unit"
)
def _compute_discount(self):
lines_with_discount_fixed = self.filtered(lambda sol: sol.discount_fixed)
Expand Down

0 comments on commit fe0bfd9

Please sign in to comment.