Skip to content

Commit fdfbb57

Browse files
ljain112ruthra-kumar
authored andcommitted
fix: remove invalid filter in Account Receivable report
1 parent bdb60a5 commit fdfbb57

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

erpnext/accounts/report/accounts_receivable/accounts_receivable.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,7 @@ def get_payment_terms(self, row):
551551
self.append_payment_term(row, d, term)
552552

553553
def append_payment_term(self, row, d, term):
554-
if (
555-
self.filters.get("customer") or self.filters.get("supplier")
556-
) and d.currency == d.party_account_currency:
554+
if d.currency == d.party_account_currency:
557555
invoiced = d.payment_amount
558556
else:
559557
invoiced = d.base_payment_amount

0 commit comments

Comments
 (0)