[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:
Martin Trigaux 2013-06-10 09:31:27 +02:00
commit e403f2cbde
1 changed files with 2 additions and 0 deletions

View File

@ -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