diff --git a/__init__.py b/__init__.py index 7cebfd4..c1ca750 100644 --- a/__init__.py +++ b/__init__.py @@ -1,15 +1,15 @@ #The COPYRIGHT file at the top level of this repository contains the full #copyright notices and license terms. from trytond.pool import Pool -from .purchase import * +from . import purchase def register(): Pool.register( - ProductSupplier, - PurchaseRequest, - PurchaseLine, + purchase.ProductSupplier, + purchase.PurchaseRequest, + purchase.PurchaseLine, module='stock_supply_minimum', type_='model') Pool.register( - CreatePurchase, + purchase.CreatePurchase, module='stock_supply_minimum', type_='wizard')