From 3e9d143d549db66049ad539fa33e16b36cb4ad69 Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Wed, 27 Apr 2011 10:25:38 +0200 Subject: [PATCH] [FIX] remove useless translations bzr revid: rco@openerp.com-20110427082538-lw1mcsejsk0lp94a --- addons/portal/portal.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/addons/portal/portal.py b/addons/portal/portal.py index b111d79f4b5..948a0fa6316 100644 --- a/addons/portal/portal.py +++ b/addons/portal/portal.py @@ -20,7 +20,8 @@ ############################################################################## from osv import osv, fields -from tools.translate import _ + + class portal(osv.osv): """ @@ -34,21 +35,21 @@ class portal(osv.osv): _columns = { 'group_id': fields.many2one('res.groups', required=True, ondelete='cascade', string='Group', - help=_('The group extended by this portal')), + help='The group extended by this portal'), 'other_group_ids': fields.many2many('res.groups', 'portal_group_rel', 'portal_id', 'group_id', string='Other User Groups', - help=_("Those groups are assigned to the portal's users")), + help="Those groups are assigned to the portal's users"), 'menu_action_id': fields.many2one('ir.actions.act_window', readonly=True, # ISSUE: 'ondelete' constraints do not seem effective on this field... string='Menu Action', - help=_("If set, replaces the standard menu for the portal's users")), + help="If set, replaces the standard menu for the portal's users"), 'parent_menu_id': fields.many2one('ir.ui.menu', ondelete='restrict', string='Parent Menu', - help=_('The menu action opens the submenus of this menu item')), + help='The menu action opens the submenus of this menu item'), 'widget_ids': fields.one2many('res.portal.widget', 'portal_id', string='Widgets', - help=_('Widgets assigned to portal users')), + help='Widgets assigned to portal users'), } def copy(self, cr, uid, id, values, context=None): @@ -192,7 +193,7 @@ class portal_override_menu(osv.osv): 'override_menu': fields.function( _get_override_menu, fnct_inv=_set_override_menu, type='boolean', method=True, string='Override Users Menu Action', - help=_('Enable this option to create the Menu Action')), + help='Enable this option to create the Menu Action'), } portal_override_menu()