fix: Accounts Payable Currency bug

(cherry picked from commit 9349bc77c5)
This commit is contained in:
RitvikSardana
2023-08-22 14:12:42 +05:30
committed by Mergify
parent 6a9935c00e
commit 94612b90ef

View File

@@ -214,8 +214,8 @@ class ReceivablePayableReport(object):
for party_type in self.party_type:
if self.filters.get(scrub(party_type)):
amount = ple.amount_in_account_currency
else:
amount = ple.amount
else:
amount = ple.amount
amount_in_account_currency = ple.amount_in_account_currency
# update voucher