From f586fc9bc9faacfe9ad78f97205c3ec0f6ddcddc 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 --- currency.py | 1 + currency.xml | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/currency.py b/currency.py index 04919fb405..f8079bf727 100644 --- a/currency.py +++ b/currency.py @@ -260,6 +260,7 @@ class CurrencyRate(ModelSQL, ModelView): @classmethod def __setup__(cls): super().__setup__() + cls.__access__.add('currency') t = cls.__table__() cls._sql_constraints = [ ('date_currency_uniq', Unique(t, t.date, t.currency), diff --git a/currency.xml b/currency.xml index 50c064b163..2c9c47580b 100644 --- a/currency.xml +++ b/currency.xml @@ -88,22 +88,6 @@ this repository contains the full copyright notices and license terms. --> currency_rate_graph - - - - - - - - - - - - - - - - currency.cron tree