From 615557661d2136581ffea0227f218a7401a1b3d8 Mon Sep 17 00:00:00 2001 From: anusrinps96 Date: Thu, 24 Jul 2025 16:06:34 +0200 Subject: [PATCH] [FIX] account_financial_report: Fix log warning GeneralLedger Report Fixed warning seen in logs while generating General Ledger Report due to unsupported operand type. --- account_financial_report/report/general_ledger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/report/general_ledger.py b/account_financial_report/report/general_ledger.py index 53cf0e3a..d2d6876c 100644 --- a/account_financial_report/report/general_ledger.py +++ b/account_financial_report/report/general_ledger.py @@ -857,7 +857,7 @@ class GeneralLedgerReport(models.AbstractModel): continue if ( not gl_item["currency_id"] - or gl_item["currency_id"] != company.currency_id + or gl_item["currency_id"] != company.currency_id.id ): gl_item["fin_bal"]["bal_curr"] -= gl_item["init_bal"]["bal_curr"] gl_item["init_bal"]["bal_curr"] = 0