From 9923fb9e444fa4a2b13d39847b400a62514554bd Mon Sep 17 00:00:00 2001 From: wilson gomez Date: Thu, 22 Jul 2021 08:43:08 -0500 Subject: [PATCH] minor fix --- __init__.py | 4 ++-- dash.py | 2 -- sale.py | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) 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'