Skip to content

Commit

Permalink
Fix invoicing
Browse files Browse the repository at this point in the history
  • Loading branch information
grindtildeath committed Jul 25, 2024
1 parent 9be24b1 commit bc20156
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sale_triple_discount/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def _prepare_invoice_line(self, **kwargs):
more discount fields to the invoice lines
"""
res = super()._prepare_invoice_line(**kwargs)
res.pop("discount", None)
if self.discounting_type == "multiplicative":
res.update(
{
Expand Down

0 comments on commit bc20156

Please sign in to comment.