projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d142e52
)
[FIX] document: put context keyword on _model_Search method in ir.actions.report...
author
Harry (Open ERP)
<hmo@tinyerp.com>
Tue, 16 Mar 2010 10:51:17 +0000
(16:21 +0530)
committer
Harry (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
patch
|
blob
|
history
diff --git
a/addons/document/directory_report.py
b/addons/document/directory_report.py
index
aac65cc
..
a7a3d80
100644
(file)
--- a/
addons/document/directory_report.py
+++ b/
addons/document/directory_report.py
@@
-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]