Skip to content

Commit

Permalink
[FIX] account_banking_ach_discount: Comparing apples and oranges
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavesh Odedra committed Sep 24, 2021
1 parent 49b55ed commit d77080d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_banking_ach_discount/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _get_reconciled_info_JSON_values(self):
# Discount is applied on the last payment (i.e. fully reconciled).
if (
not mvl.bank_payment_line_id
and mvl.move_id == self.id
and mvl.move_id.id == self.id
and item["account_payment_id"] == mvl.payment_id.id
):
if mvl.full_reconcile_id and not flag:
Expand Down

0 comments on commit d77080d

Please sign in to comment.