Skip to content

Commit

Permalink
fix: remove invalid filter in Account Receivable report
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 authored and ruthra-kumar committed Dec 13, 2024
1 parent a460bf9 commit b571c7a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,7 @@ def get_payment_terms(self, row):
self.append_payment_term(row, d, term)

def append_payment_term(self, row, d, term):
if (
self.filters.get("customer") or self.filters.get("supplier")
) and d.currency == d.party_account_currency:
if d.currency == d.party_account_currency:
invoiced = d.payment_amount
else:
invoiced = d.base_payment_amount
Expand Down

0 comments on commit b571c7a

Please sign in to comment.