diff --git a/trytond/trytond/ir/rule.py b/trytond/trytond/ir/rule.py index 9f42c96a74..0743a3d7f2 100644 --- a/trytond/trytond/ir/rule.py +++ b/trytond/trytond/ir/rule.py @@ -116,6 +116,7 @@ class Rule(ModelSQL, ModelView): @classmethod def __setup__(cls): super().__setup__() + cls.__access__.add('rule_group') table = cls.__table__() cls._sql_indexes.add( diff --git a/trytond/trytond/res/ir.xml b/trytond/trytond/res/ir.xml index 0b188b93a7..498738db30 100644 --- a/trytond/trytond/res/ir.xml +++ b/trytond/trytond/res/ir.xml @@ -176,21 +176,7 @@ this repository contains the full copyright notices and license terms. --> - - - - - - - - - - - - - - - +