From 2ec6c5374b60671b7aff8088a2a2af59ce77de80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 7 Mar 2021 11:13:53 +0100 Subject: [PATCH] Add __access__ to Model issue9903 review324601002 --- bom.py | 1 + bom.xml | 32 -------------------------------- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/bom.py b/bom.py index e8800a34c9..75cedfb803 100644 --- a/bom.py +++ b/bom.py @@ -68,6 +68,7 @@ class BOMInput(ModelSQL, ModelView): @classmethod def __setup__(cls): super(BOMInput, cls).__setup__() + cls.__access__.add('bom') t = cls.__table__() cls._sql_constraints = [ ('product_bom_uniq', Unique(t, t.product, t.bom), diff --git a/bom.xml b/bom.xml index 5f70df5e9f..68d7fba8a5 100644 --- a/bom.xml +++ b/bom.xml @@ -67,22 +67,6 @@ this repository contains the full copyright notices and license terms. --> bom_input_form - - - - - - - - - - - - - - - - production.bom.output tree @@ -94,22 +78,6 @@ this repository contains the full copyright notices and license terms. --> bom_output_form - - - - - - - - - - - - - - - - production.bom.tree tree