Skip to content

Commit

Permalink
Merge pull request #36776 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-36758

fix: Accounts Payable Currency bug (#36758)
  • Loading branch information
deepeshgarg007 authored Aug 22, 2023
2 parents 6a9935c + 94612b9 commit f16386b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ def update_voucher_balance(self, ple):
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
Expand Down

0 comments on commit f16386b

Please sign in to comment.