[FIX] document: put context keyword on _model_Search method in ir.actions.report...
authorHarry (Open ERP) <hmo@tinyerp.com>
Tue, 16 Mar 2010 10:51:17 +0000 (16:21 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Tue, 16 Mar 2010 10:51:17 +0000 (16:21 +0530)
bzr revid: hmo@tinyerp.com-20100316105117-x73mg5xnft82v53y

addons/document/directory_report.py

index aac65cc..a7a3d80 100644 (file)
@@ -45,7 +45,7 @@ class ir_action_report_xml(osv.osv):
                     res[data.get('id')] = False
         return res
 
-    def _model_search(self, cr, uid, obj, name, args):
+    def _model_search(self, cr, uid, obj, name, args, context={}):
         if not len(args):
             return []
         model_id= args[0][2]