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

bzr revid: odo@openerp.com-20110915103040-laoviibia601ybqj
This commit is contained in:
Olivier Dony
2011-09-15 12:30:40 +02:00
parent 967373ede9
commit 807955bfdc
+1 -1
View File
@@ -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'],