[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'),
|
'string': app and app.name or _('Other'),
|
||||||
'selection': [(False, '')] + [(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),
|
||||||
|
'exportable': False,
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
# boolean group fields
|
# boolean group fields
|
||||||
|
@ -833,6 +834,7 @@ class users_view(osv.osv):
|
||||||
'type': 'boolean',
|
'type': 'boolean',
|
||||||
'string': g.name,
|
'string': g.name,
|
||||||
'help': g.comment,
|
'help': g.comment,
|
||||||
|
'exportable': False,
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue