[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:
parent
72ee804f8b
commit
4e366e01aa
|
@ -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