Skip to content

Commit

Permalink
[FIX]account_commission: partner redefine unnecessary and potentially…
Browse files Browse the repository at this point in the history
… buggy
  • Loading branch information
jguenat committed Aug 25, 2023
1 parent da54980 commit e9ddbf6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion account_commission/models/commission_settlement.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def _prepare_invoice(self, journal, product, date=False):
line_form.quantity = -1 if settlement.total < 0 else 1
line_form.price_unit = abs(settlement.total)
# Put period string
partner = self.agent_id
lang = self.env["res.lang"].search(
[
(
Expand Down

0 comments on commit e9ddbf6

Please sign in to comment.