Skip to content

Commit

Permalink
Merge PR #30 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 31, 2024
2 parents 4d87aab + 9d5084d commit e1d2434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agreement_rebate/models/agreement_rebate_settlement.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def create_invoice(self):
if values.pop("check_amount", 0.0) < 0.0:
for line_vals in values["invoice_line_ids"]:
line_vals[2]["price_unit"] *= -1
values["type"] = self._reverse_type_map(values["type"])
values["move_type"] = self._reverse_type_map(values["move_type"])
invoices = self.env["account.move"].create(invoice_dic.values())
return invoices

Expand Down

0 comments on commit e1d2434

Please sign in to comment.