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 - - - - - - - - - - - - - - - -