From ff7d66435b2da9470a0edd73374d5e1c167dfb1c Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Fri, 31 Aug 2018 08:51:52 +0200 Subject: [PATCH] Register classes in __init__ --- __init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index 5e003bf..5171c7c 100644 --- a/__init__.py +++ b/__init__.py @@ -2,12 +2,12 @@ # 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_oneclick import * +from . import product_oneclick def register(): Pool.register( - ProductOneClickView, + product_oneclick.ProductOneClickView, module='product_oneclick_esale', type_='model') Pool.register( - ProductOneClick, + product_oneclick.ProductOneClick, module='product_oneclick_esale', type_='wizard')