[REM] Removed comment and now unnecessary code.
bzr revid: tde@openerp.com-20120418115050-jwtyqg9iahakyu13
This commit is contained in:
parent
d029e2734c
commit
110fbacb2a
|
@ -263,8 +263,6 @@ class ir_ui_menu(osv.osv):
|
||||||
res[menu.id] = {}
|
res[menu.id] = {}
|
||||||
if menu.action and menu.action.type == 'ir.actions.act_window' and menu.action.res_model:
|
if menu.action and menu.action.type == 'ir.actions.act_window' and menu.action.res_model:
|
||||||
menu_needaction_res = self.pool.get(menu.action.res_model)._get_needaction_info(cr, uid, uid, domain=menu.action.domain, context=context)
|
menu_needaction_res = self.pool.get(menu.action.res_model)._get_needaction_info(cr, uid, uid, domain=menu.action.domain, context=context)
|
||||||
# TODO: find the addon that causes a bug on runbot, not on local
|
|
||||||
#if not isinstance(menu_needaction_res[1], (int, long)): menu_needaction_res[1] = 0
|
|
||||||
else:
|
else:
|
||||||
menu_needaction_res = [False, 0]
|
menu_needaction_res = [False, 0]
|
||||||
res[menu.id]['needaction_enabled'] = menu_needaction_res[0]
|
res[menu.id]['needaction_enabled'] = menu_needaction_res[0]
|
||||||
|
|
Loading…
Reference in New Issue