diff --git a/__init__.py b/__init__.py index d424af7..1cab67e 100644 --- a/__init__.py +++ b/__init__.py @@ -1,8 +1,8 @@ # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. from trytond.pool import Pool -import sale -import dash +from . import sale +from . import dash def register(): diff --git a/dash.py b/dash.py index 515654f..ccd0583 100644 --- a/dash.py +++ b/dash.py @@ -2,8 +2,6 @@ # this repository contains the full copyright notices and license terms. from trytond.pool import PoolMeta -__all__ = ['DashApp'] - class DashApp(metaclass=PoolMeta): __name__ = 'dash.app' diff --git a/sale.py b/sale.py index 4b1a96d..9cf5281 100644 --- a/sale.py +++ b/sale.py @@ -10,8 +10,6 @@ from trytond.pool import Pool, PoolMeta from trytond.transaction import Transaction from trytond.model import ModelView, ModelSQL, fields -__all__ = ['Sale', 'AppDelivery', 'AppSaleOrder'] - class Sale(metaclass=PoolMeta): __name__ = 'sale.sale'