[FIX]:context of action should be passed in fields_view_get when calling it for search view
bzr revid: nch@tinyerp.com-20100728065929-2wkmfydqbqh9m9xi
This commit is contained in:
parent
425e5b5faa
commit
efb00ba622
|
@ -169,6 +169,7 @@ class act_window(osv.osv):
|
||||||
return s.encode('utf8')
|
return s.encode('utf8')
|
||||||
return s
|
return s
|
||||||
for act in self.browse(cr, uid, ids):
|
for act in self.browse(cr, uid, ids):
|
||||||
|
context.update(eval(act.context, context.copy()))
|
||||||
fields_from_fields_get = self.pool.get(act.res_model).fields_get(cr, uid, context=context)
|
fields_from_fields_get = self.pool.get(act.res_model).fields_get(cr, uid, context=context)
|
||||||
search_view_id = False
|
search_view_id = False
|
||||||
if act.search_view_id:
|
if act.search_view_id:
|
||||||
|
|
Loading…
Reference in New Issue