Skip to content

Commit

Permalink
[IMP] Recompute amount currency with payment date
Browse files Browse the repository at this point in the history
  • Loading branch information
yibudak committed Dec 29, 2023
1 parent ce47ad2 commit c679bbf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion account_check/models/account_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,11 @@ def _recompute_operations_amount_currency(self):
if op.origin._name == "account.payment":
move_lines = op.origin.move_line_ids
# partner_id = op.origin.partner_id
else: # Account.move
elif op.origin._name == "account.move":
# partner_id = op.origin.partner_id
move_lines = op.origin.line_ids
else:
continue

# if partner_id.partner_currency_id == rec.company_currency_id:
# continue
Expand Down

0 comments on commit c679bbf

Please sign in to comment.