diff --git a/addons/account/report/account_general_ledger.py b/addons/account/report/account_general_ledger.py index 363a52bfe72f90d7db4bffc622b4208541ebdf9f..08a1d3a137cf7e9f19719904b949d6afad620399 100644 --- a/addons/account/report/account_general_ledger.py +++ b/addons/account/report/account_general_ledger.py @@ -31,7 +31,7 @@ class ReportGeneralLedger(models.AbstractModel): # Prepare initial sql query and Get the initial move lines if init_balance: - init_tables, init_where_clause, init_where_params = MoveLine.with_context(date_to=self.env.context.get('date_from'), date_from=False)._query_get() + init_tables, init_where_clause, init_where_params = MoveLine.with_context(date_from=self.env.context.get('date_from'), date_to=False, initial_bal=True)._query_get() init_wheres = [""] if init_where_clause.strip(): init_wheres.append(init_where_clause.strip())