Merge pull request #36758 from RitvikSardana/develop-ritvik-ap-currency
fix: Accounts Payable Currency bug
This commit is contained in:
commit
53926b0620
@ -214,8 +214,8 @@ class ReceivablePayableReport(object):
|
|||||||
for party_type in self.party_type:
|
for party_type in self.party_type:
|
||||||
if self.filters.get(scrub(party_type)):
|
if self.filters.get(scrub(party_type)):
|
||||||
amount = ple.amount_in_account_currency
|
amount = ple.amount_in_account_currency
|
||||||
else:
|
else:
|
||||||
amount = ple.amount
|
amount = ple.amount
|
||||||
amount_in_account_currency = ple.amount_in_account_currency
|
amount_in_account_currency = ple.amount_in_account_currency
|
||||||
|
|
||||||
# update voucher
|
# update voucher
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user