From 2fc0c8e4a7f1f20f2c3a11731b805f899fbb922e 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 --- account.py | 1 + account.xml | 32 -------------------------------- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/account.py b/account.py index dbfcfaeb25..06c3f63c12 100644 --- a/account.py +++ b/account.py @@ -616,6 +616,7 @@ class PaymentBraintreeRefund(Workflow, ModelSQL, ModelView): @classmethod def __setup__(cls): super().__setup__() + cls.__access__.add('payment') cls._transitions |= set(( ('draft', 'approved'), ('approved', 'processing'), diff --git a/account.xml b/account.xml index d9e154dae3..12d292fd48 100644 --- a/account.xml +++ b/account.xml @@ -215,38 +215,6 @@ this repository contains the full copyright notices and license terms. --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - draft Draft