From d113f6e684dfa80caed52a5e6cfcaf410df9639f Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Wed, 10 Nov 2010 18:16:54 +0530 Subject: [PATCH] [REVERT]:commit 2996 to opt fro a better solution bzr revid: nch@tinyerp.com-20101110124654-tdko46c0d4g0uoma --- bin/addons/base/res/res_config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/addons/base/res/res_config.py b/bin/addons/base/res/res_config.py index 8552e608586..5b3b0755f96 100644 --- a/bin/addons/base/res/res_config.py +++ b/bin/addons/base/res/res_config.py @@ -113,8 +113,9 @@ class res_config_configurable(osv.osv_memory): current_user_menu = self.pool.get('res.users')\ .browse(cr, uid, uid).menu_id # return the action associated with the menu - return {'menu_reload':True, 'type': 'object'} - + return self.pool.get(current_user_menu.type)\ + .read(cr, uid, current_user_menu.id) + def start(self, cr, uid, ids, context=None): ids2 = self.pool.get('ir.actions.todo').search(cr, uid, [], context=context) for todo in self.pool.get('ir.actions.todo').browse(cr, uid, ids2, context=context):