Merge pull request #36758 from RitvikSardana/develop-ritvik-ap-currency

fix: Accounts Payable Currency bug
This commit is contained in:
Deepesh Garg 2023-08-22 22:27:54 +05:30 committed by GitHub
commit 53926b0620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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