diff --git a/addons/account/report/account_balance.py b/addons/account/report/account_balance.py index 00fa1f58ff6..d077042e698 100644 --- a/addons/account/report/account_balance.py +++ b/addons/account/report/account_balance.py @@ -111,7 +111,8 @@ class account_balance(report_sxw.rml_parse, common_report_header): ctx['fiscalyear'] = form['fiscalyear_id'] if form['filter'] == 'filter_period': - ctx['periods'] = form['periods'] + ctx['period_from'] = form['period_from'] + ctx['period_to'] = form['period_to'] elif form['filter'] == 'filter_date': ctx['date_from'] = form['date_from'] ctx['date_to'] = form['date_to']