[IMP]:account

bzr revid: apa@tinyerp.com-20120605115352-l8haagu60vyxp15s
This commit is contained in:
Amit Patel (OpenERP) 2012-06-05 17:23:52 +05:30
parent a59e33fdd4
commit 7c0cb3f365
1 changed files with 1 additions and 0 deletions

View File

@ -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