Skip to content
Snippets Groups Projects
Commit 807955bf authored by Olivier Dony's avatar Olivier Dony
Browse files

[FIX] share: remove context argument passed to cached method, now deprecated

bzr revid: odo@openerp.com-20110915103040-laoviibia601ybqj
parent 967373ed
Branches
Tags
No related merge requests found
......@@ -211,7 +211,7 @@ class share_wizard(osv.osv_memory):
del new_context[key]
dataobj = self.pool.get('ir.model.data')
menu_id = dataobj._get_id(cr, uid, 'base', 'menu_administration_shortcut', new_context)
menu_id = dataobj._get_id(cr, uid, 'base', 'menu_administration_shortcut')
shortcut_menu_id = int(dataobj.read(cr, uid, menu_id, ['res_id'], new_context)['res_id'])
action_id = self.pool.get('ir.actions.act_window').create(cr, UID_ROOT, values, new_context)
menu_data = {'name': values['name'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment