diff --git a/trytond/res/group.py b/trytond/res/group.py index 6737ba748d..9f1a362fc0 100644 --- a/trytond/res/group.py +++ b/trytond/res/group.py @@ -33,6 +33,8 @@ class Group(ModelSQL, ModelView): name = fields.Char('Name', required=True, select=1, translate=True) model_access = fields.One2Many('ir.model.access', 'group', 'Access Model') + field_access = fields.One2Many('ir.model.field.access', 'group', + 'Access Field') rule_groups = fields.Many2Many('ir.rule.group-res.group', 'group_id', 'rule_group_id', 'Rules', domain=[('global_p', '!=', True), ('default_p', '!=', True)]) diff --git a/trytond/res/group.xml b/trytond/res/group.xml index a1b05a8a85..5835c0200b 100644 --- a/trytond/res/group.xml +++ b/trytond/res/group.xml @@ -19,13 +19,13 @@ this repository contains the full copyright notices and license terms. --> - - + - - - - + + + + +