Skip to content

Commit

Permalink
fix: Accounts Payable Currency bug
Browse files Browse the repository at this point in the history
(cherry picked from commit 9349bc7)
  • Loading branch information
RitvikSardana authored and mergify[bot] committed Aug 22, 2023
1 parent 6a9935c commit 94612b9
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 94612b9

Please sign in to comment.