[FIX] account_financial_report: Fix log warning GeneralLedger Report
Fixed warning seen in logs while generating General Ledger Report due to unsupported operand type.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user