[FIX] res_users: add explicitly False in non-required selection group fields
bzr revid: rco@openerp.com-20111219083458-e0uqpa9vx52lnr9p
This commit is contained in:
parent
0309ea7454
commit
f17b864c63
|
@ -873,7 +873,7 @@ class users_view(osv.osv):
|
||||||
res[name_selection_groups(map(int, gs))] = {
|
res[name_selection_groups(map(int, gs))] = {
|
||||||
'type': 'selection',
|
'type': 'selection',
|
||||||
'string': app and app.name or _('Other'),
|
'string': app and app.name or _('Other'),
|
||||||
'selection': [(g.id, g.name) for g in gs],
|
'selection': [(False, '')] + [(g.id, g.name) for g in gs],
|
||||||
'help': '\n'.join(tips),
|
'help': '\n'.join(tips),
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue