[MERGE] [FIX] res.users: prevent exporting the virtual 'Access Rights' fields
A corresponding patch on openerp-web takes that new field attribute into account bzr revid: mat@openerp.com-20130610073127-kg5dhvslvri4k942
This commit is contained in:
commit
e403f2cbde
|
@ -825,6 +825,7 @@ class users_view(osv.osv):
|
|||
'string': app and app.name or _('Other'),
|
||||
'selection': [(False, '')] + [(g.id, g.name) for g in gs],
|
||||
'help': '\n'.join(tips),
|
||||
'exportable': False,
|
||||
}
|
||||
else:
|
||||
# boolean group fields
|
||||
|
@ -833,6 +834,7 @@ class users_view(osv.osv):
|
|||
'type': 'boolean',
|
||||
'string': g.name,
|
||||
'help': g.comment,
|
||||
'exportable': False,
|
||||
}
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in New Issue