From 7819a48a22921bbee38e797d13bb2d7f20507072 Mon Sep 17 00:00:00 2001 From: Rga <> Date: Wed, 10 Nov 2010 15:03:40 +0530 Subject: [PATCH] [FIX]:Installing a module when completed,it should reload the current menu tab lp bug: https://launchpad.net/bugs/534521 fixed bzr revid: nch@tinyerp.com-20101110093340-s0itn4yoal02dvfc --- bin/addons/base/res/res_config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/addons/base/res/res_config.py b/bin/addons/base/res/res_config.py index 5b3b0755f96..8552e608586 100644 --- a/bin/addons/base/res/res_config.py +++ b/bin/addons/base/res/res_config.py @@ -113,9 +113,8 @@ 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 self.pool.get(current_user_menu.type)\ - .read(cr, uid, current_user_menu.id) - + return {'menu_reload':True, 'type': 'object'} + 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):