[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: odo@openerp.com-20130607093057-nujdeq39sqbx2cbo
This commit is contained in:
Olivier Dony 2013-06-07 11:30:57 +02:00
parent 72ee804f8b
commit 4e366e01aa
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