Skip to content

Commit

Permalink
Merge pull request frappe#44676 from ljain112/fix-ac-rec-pay,emt-term
Browse files Browse the repository at this point in the history
fix: remove invalid filter in Account Receivable report
  • Loading branch information
ruthra-kumar authored Dec 13, 2024
2 parents 48b49cd + 578ca23 commit 3a4d8a7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,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 3a4d8a7

Please sign in to comment.