[FIX] account: fixed query_get of trial balance

lp bug: https://launchpad.net/bugs/699783 fixed

bzr revid: qdp-launchpad@tinyerp.com-20110111095235-17730agda2pmq8sv
This commit is contained in:
qdp-launchpad@tinyerp.com
2011-01-11 10:52:35 +01:00
parent e69f087c95
commit 44df166411
+2 -1
View File
@@ -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']