Skip to content

Commit

Permalink
fix: consider gle based on balances in company currency (#43804)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabinhait authored Oct 23, 2024
1 parent e8f3d13 commit 96ea64f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,7 @@ def get_closing_entries_for_balance_sheet_accounts(self):

for dimensions, account_balances in balance_sheet_account_balances.items():
for acc, balances in account_balances.items():
balance_in_company_currency = flt(balances.debit_in_account_currency) - flt(
balances.credit_in_account_currency
)
balance_in_company_currency = flt(balances.debit) - flt(balances.credit)
if acc != "balances" and balance_in_company_currency:
closing_entries.append(self.get_closing_entry(acc, balances, dimensions))

Expand Down

0 comments on commit 96ea64f

Please sign in to comment.