From 0f522981153330199121a4f7e6a6e2935dbbaa89 Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Mon, 10 Sep 2018 09:50:23 +0200 Subject: [PATCH] Register classes --- __init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/__init__.py b/__init__.py index 343b4c4..6a68d48 100644 --- a/__init__.py +++ b/__init__.py @@ -2,16 +2,16 @@ # The COPYRIGHT file at the top level of this repository contains # copyright notices and license terms. the full from trytond.pool import Pool -from .api import * -from .shipment import * -from .manifest import * +from . import api +from . import shipment +from . import manifest def register(): Pool.register( - CarrierApi, - ShipmentOut, + api.CarrierApi, + shipment.ShipmentOut, module='carrier_send_shipments_seurvalencia', type_='model') Pool.register( - CarrierManifest, + manifest.CarrierManifest, module='carrier_send_shipments_seurvalencia', type_='wizard')