From 3b41eafb577bd9870cf3656bd78628c2071f9655 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 --- bank.py | 1 + bank.xml | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/bank.py b/bank.py index 9c3f0858db..a20d67dea6 100644 --- a/bank.py +++ b/bank.py @@ -91,6 +91,7 @@ class AccountNumber(sequence_ordered(), ModelSQL, ModelView): @classmethod def __setup__(cls): super().__setup__() + cls.__access__.add('account') cls._order.insert(0, ('account', 'ASC')) @classmethod diff --git a/bank.xml b/bank.xml index 817ced6deb..04bcb07fc2 100644 --- a/bank.xml +++ b/bank.xml @@ -135,21 +135,5 @@ this repository contains the full copyright notices and license terms. --> tree bank_account_number_list_sequence - - - - - - - - - - - - - - - -