[FIX] res_users: tips on groups

bzr revid: hmo@tinyerp.com-20120906064912-pp1xgtjswbykh2gh
This commit is contained in:
Harry (OpenERP) 2012-09-06 12:19:12 +05:30
parent 4eeb4fecba
commit 8ce3484f3e
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ class users_view(osv.osv):
for app, kind, gs in self.pool.get('res.groups').get_groups_by_application(cr, uid, context):
if kind == 'selection':
# selection group field
tips = ['%s' % (g.comment or '') for g in gs]
tips = ['%s: %s' % (g.name, g.comment) for g in gs if g.comment]
res[name_selection_groups(map(int, gs))] = {
'type': 'selection',
'string': app and app.name or _('Other'),