fix: remove invalid filter in Account Receivable report
This commit is contained in:
@@ -551,9 +551,7 @@ class ReceivablePayableReport:
|
|||||||
self.append_payment_term(row, d, term)
|
self.append_payment_term(row, d, term)
|
||||||
|
|
||||||
def append_payment_term(self, row, d, term):
|
def append_payment_term(self, row, d, term):
|
||||||
if (
|
if d.currency == d.party_account_currency:
|
||||||
self.filters.get("customer") or self.filters.get("supplier")
|
|
||||||
) and d.currency == d.party_account_currency:
|
|
||||||
invoiced = d.payment_amount
|
invoiced = d.payment_amount
|
||||||
else:
|
else:
|
||||||
invoiced = d.base_payment_amount
|
invoiced = d.base_payment_amount
|
||||||
|
|||||||
Reference in New Issue
Block a user