From 7c0cb3f3656da7e6eee5250a86ca26fc2d0a508e Mon Sep 17 00:00:00 2001 From: "Amit Patel (OpenERP)" Date: Tue, 5 Jun 2012 17:23:52 +0530 Subject: [PATCH] [IMP]:account bzr revid: apa@tinyerp.com-20120605115352-l8haagu60vyxp15s --- addons/account/report/account_report.py | 1 + 1 file changed, 1 insertion(+) 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