summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Patel (OpenERP) <apa@tinyerp.com>2012-06-05 17:23:52 +0530
committerAmit Patel (OpenERP) <apa@tinyerp.com>2012-06-05 17:23:52 +0530
commit7c0cb3f3656da7e6eee5250a86ca26fc2d0a508e (patch)
tree8c0fb9c6192976ded13eed2c531cba4dbe2cd15f
parenta59e33fdd4b7eb076a10f96026aa9b628c495da9 (diff)
[IMP]:account
bzr revid: apa@tinyerp.com-20120605115352-l8haagu60vyxp15s
-rw-r--r--addons/account/report/account_report.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account/report/account_report.py b/addons/account/report/account_report.py
index 555d1ee7c25..59745355c5e 100644
--- a/addons/account/report/account_report.py
+++ b/addons/account/report/account_report.py
@@ -91,6 +91,7 @@ class report_aged_receivable(osv.osv):
def fields_view_get(self, cr, user, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
""" To call the init() method timely
"""
+ if context is None:context = {}
if not self.called:
self.init(cr, user)
self.called = True # To make sure that init doesn't get called multiple times