Skip to content

Commit

Permalink
Merge pull request #44699 from ruthra-kumar/backport_v14_pr_44676
Browse files Browse the repository at this point in the history
fix: remove invalid filter in Account Receivable report (backport #44676)
  • Loading branch information
ruthra-kumar authored Dec 13, 2024
2 parents 4b4d5df + b571c7a commit bad7441
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 bad7441

Please sign in to comment.