Skip to content

Commit

Permalink
Merge pull request #36758 from RitvikSardana/develop-ritvik-ap-currency
Browse files Browse the repository at this point in the history
fix: Accounts Payable Currency bug
  • Loading branch information
deepeshgarg007 authored Aug 22, 2023
2 parents a77e9d3 + 9349bc7 commit 53926b0
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 53926b0

Please sign in to comment.