From 5fb092072202fe46c2f4f7bb334eb003722e03b4 Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Sun, 28 Oct 2018 23:50:56 +0100 Subject: [PATCH] Do not use asterisk in imports. --- __init__.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/__init__.py b/__init__.py index 1acc6e8..2940775 100644 --- a/__init__.py +++ b/__init__.py @@ -1,20 +1,20 @@ # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. from trytond.pool import Pool -from .product import * -from .production import * +from . import product +from . import production def register(): Pool.register( - Process, - Step, - BOMInput, - BOMOutput, - Operation, - Route, - BOM, - Production, - ProductBom, - StockMove, + production.Process, + production.Step, + production.BOMInput, + production.BOMOutput, + production.Operation, + production.Route, + production.BOM, + production.Production, + product.ProductBom, + production.StockMove, module='production_process', type_='model')