From e365f0dc13290297ec02ebd6ecea82f14a2e257e Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 24 Oct 2007 10:27:06 +0000 Subject: [PATCH] Bugfix Bug #284 bzr revid: fp@tinyerp.com-9d7ed3da995834e810cff5fb7348f57a46732d9d --- addons/account/report/account_balance.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/account/report/account_balance.py b/addons/account/report/account_balance.py index 3826b3ac107..dae3eef3a9e 100644 --- a/addons/account/report/account_balance.py +++ b/addons/account/report/account_balance.py @@ -41,11 +41,13 @@ class account_balance(report_sxw.rml_parse): }) self.context = context - def lines(self, form, ids={}, done={}, level=1): + def lines(self, form, ids={}, done=None, level=1): if not ids: ids = self.ids if not ids: return [] + if not done: + done={} result = [] ctx = self.context.copy() ctx['fiscalyear'] = form['fiscalyear']