diff --git a/__init__.py b/__init__.py index ff6d3ad..c4603c1 100644 --- a/__init__.py +++ b/__init__.py @@ -14,7 +14,6 @@ def register(): Pool.register( account.Account, account.AccountTemplate, - account.FiscalYear, account.Period, account.AccountType, account.AccountTypeTemplate, diff --git a/account.py b/account.py index 40a7c89..2d186e7 100644 --- a/account.py +++ b/account.py @@ -28,21 +28,6 @@ class AccountTemplate(metaclass=PoolMeta): return True -class FiscalYear(metaclass=PoolMeta): - __name__ = 'account.fiscalyear' - code = fields.Char('Code', size=None) - - @classmethod - def search_rec_name(cls, name, clause): - if clause[1].startswith('!') or clause[1].startswith('not '): - bool_op = 'AND' - else: - bool_op = 'OR' - return [bool_op, - ('code',) + tuple(clause[1:]), - (cls._rec_name,) + tuple(clause[1:]), - ] - class Period(metaclass=PoolMeta): __name__ = 'account.period' diff --git a/view.xml b/view.xml index 7f74bbd..fe0d480 100644 --- a/view.xml +++ b/view.xml @@ -3,18 +3,6 @@ copyright notices and license terms. --> - - - account.fiscalyear - - fiscalyear_form - - - account.fiscalyear - - fiscalyear_tree - - account.period diff --git a/view/fiscalyear_form.xml b/view/fiscalyear_form.xml deleted file mode 100644 index 28337ea..0000000 --- a/view/fiscalyear_form.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/view/fiscalyear_tree.xml b/view/fiscalyear_tree.xml deleted file mode 100644 index 2d86d09..0000000 --- a/view/fiscalyear_tree.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - -