From ba9a08922702fbe7ac0121ca189d3c2a567070d8 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 14 May 2012 16:02:47 +0200 Subject: [PATCH] [FIX] update the xml id with the right id bzr revid: abo@openerp.com-20120514140247-unhkamfdsddlco4j --- addons/portal/portal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/portal/portal.py b/addons/portal/portal.py index 8f4ff66aef2..2289804f5ac 100644 --- a/addons/portal/portal.py +++ b/addons/portal/portal.py @@ -102,7 +102,7 @@ class portal(osv.osv): """ create a parent menu for the given portals """ menu_obj = self.pool.get('ir.ui.menu') ir_data = self.pool.get('ir.model.data') - menu_root = self._res_xml_id(cr, uid, 'portal', 'portal_menu') + menu_root = self._res_xml_id(cr, uid, 'portal', 'portal_menu_settings') for p in self.browse(cr, uid, ids, context): # create a menuitem under 'portal.portal_menu' @@ -124,7 +124,7 @@ class portal(osv.osv): return True def _assign_menu(self, cr, uid, ids, context=None): - """ assign portal menu to users of portals (ids) """ + """ assign portal_menu_settings to users of portals (ids) """ user_obj = self.pool.get('res.users') for p in self.browse(cr, uid, ids, context): # user menu action = portal menu action if set in portal