From bba775dadd8dad52f6b045eb1eb7ccbc8f07b8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 8 Jan 2023 20:43:26 +0100 Subject: [PATCH] Replace model access by __access__ for trigger --- trytond/trytond/ir/trigger.py | 1 + trytond/trytond/res/ir.xml | 16 +--------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/trytond/trytond/ir/trigger.py b/trytond/trytond/ir/trigger.py index d0d2952099..918a2f470d 100644 --- a/trytond/trytond/ir/trigger.py +++ b/trytond/trytond/ir/trigger.py @@ -322,6 +322,7 @@ class TriggerLog(ModelSQL): @classmethod def __setup__(cls): super().__setup__() + cls.__access__.add('trigger') table = cls.__table__() cls._sql_indexes.add( diff --git a/trytond/trytond/res/ir.xml b/trytond/trytond/res/ir.xml index 3dd1f00ab0..458649ee08 100644 --- a/trytond/trytond/res/ir.xml +++ b/trytond/trytond/res/ir.xml @@ -208,21 +208,7 @@ this repository contains the full copyright notices and license terms. --> - - - - - - - - - - - - - - - + User in groups