diff options
| author | nch@tinyerp.com <> | 2010-07-28 12:29:29 +0530 |
|---|---|---|
| committer | nch@tinyerp.com <> | 2010-07-28 12:29:29 +0530 |
| commit | efb00ba622cb4c8fd2d96bfaa30d972c8cc873b5 (patch) | |
| tree | 2920123f099f8443d9f119cbea4a22b2a75ce5aa | |
| parent | 425e5b5faad6ace724ab94659210cf8a542987a3 (diff) | |
[FIX]:context of action should be passed in fields_view_get when calling it for search view
bzr revid: nch@tinyerp.com-20100728065929-2wkmfydqbqh9m9xi
| -rw-r--r-- | bin/addons/base/ir/ir_actions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/addons/base/ir/ir_actions.py b/bin/addons/base/ir/ir_actions.py index 3b51af26f53..52322d0eee6 100644 --- a/bin/addons/base/ir/ir_actions.py +++ b/bin/addons/base/ir/ir_actions.py @@ -169,6 +169,7 @@ class act_window(osv.osv): return s.encode('utf8') return s 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) search_view_id = False if act.search_view_id: |
