From 807955bfdc076b6eb03edf4012967be37f90b160 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 15 Sep 2011 12:30:40 +0200 Subject: [PATCH] [FIX] share: remove context argument passed to cached method, now deprecated bzr revid: odo@openerp.com-20110915103040-laoviibia601ybqj --- addons/share/wizard/share_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py index b15129fd1bc..b66ccc2dd47 100644 --- a/addons/share/wizard/share_wizard.py +++ b/addons/share/wizard/share_wizard.py @@ -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'],