Skip to content

Commit

Permalink
[FIX] agreement_rebate: The type of account move is defined in the fi…
Browse files Browse the repository at this point in the history
…eld move_type
  • Loading branch information
mariancuadranetkia committed Oct 9, 2024
1 parent 304b8fa commit 0755ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agreement_rebate/wizards/invoice_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def action_create_invoice(self):
)
settlements -= settlements.filtered(
lambda s: any(
ail.move_id.type == self.invoice_type
ail.move_id.move_type == self.invoice_type
for ail in s.line_ids.mapped("invoice_line_ids").filtered(
lambda ln: ln.parent_state != "cancel"
)
Expand Down

0 comments on commit 0755ffd

Please sign in to comment.