diff options
| author | hda@tinyerp.com <> | 2008-09-24 11:34:32 +0530 |
|---|---|---|
| committer | hda@tinyerp.com <> | 2008-09-24 11:34:32 +0530 |
| commit | c82b81aa0cf4286d95562a3d449462d4e5bcf78b (patch) | |
| tree | c94cf6de789c10b2afdaa7e33f5bb2cfadc2e5f7 /bin/addons/base/module/module.py | |
| parent | 88a6b3780ce26ca3cdf98bd109162f6849754122 (diff) | |
change user action
bzr revid: hda@tinyerp.com-20080924060432-pb1ln88r9x6k310p
Diffstat (limited to 'bin/addons/base/module/module.py')
| -rw-r--r-- | bin/addons/base/module/module.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py index 30b154a1145..ca25c010ccc 100644 --- a/bin/addons/base/module/module.py +++ b/bin/addons/base/module/module.py @@ -681,8 +681,8 @@ class module_configuration(osv.osv_memory): 'target':item.action_id.target, } user_action=self.pool.get('res.users').browse(cr,uid,uid) - act_obj=self.pool.get(user_action.action_id.type) - action_ids=act_obj.search(cr,uid,[('name','=',user_action.action_id.name)]) + act_obj=self.pool.get(user_action.menu_id.type) + action_ids=act_obj.search(cr,uid,[('name','=',user_action.menu_id.name)]) action_open=act_obj.browse(cr,uid,action_ids)[0] if context.get('menu',False): return{ |
