[IMP]:report_webkit
authorAmit Patel (OpenERP) <apa@tinyerp.com>
Tue, 5 Jun 2012 12:12:35 +0000 (17:42 +0530)
committerAmit Patel (OpenERP) <apa@tinyerp.com>
Tue, 5 Jun 2012 12:12:35 +0000 (17:42 +0530)
bzr revid: apa@tinyerp.com-20120605121235-6xheefhrf01y279f

addons/report_webkit/wizard/report_webkit_actions.py

index bb2c531..521b8e6 100644 (file)
@@ -53,6 +53,7 @@ class report_webkit_actions(osv.osv_memory):
          @param context: A standard dictionary 
          @return: New arch of view.
         """
+        if context is None:context={}
         res = super(report_webkit_actions, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
         record_id = context and context.get('active_id', False) or False
         active_model = context.get('active_model')