From 44df166411a22e66072de9323bcd7e5e4929eb9f Mon Sep 17 00:00:00 2001 From: "qdp-launchpad@tinyerp.com" <> Date: Tue, 11 Jan 2011 10:52:35 +0100 Subject: [PATCH] [FIX] account: fixed query_get of trial balance lp bug: https://launchpad.net/bugs/699783 fixed bzr revid: qdp-launchpad@tinyerp.com-20110111095235-17730agda2pmq8sv --- addons/account/report/account_balance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']