2016-06-01 19:03:55 +02:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
# this repository contains the full copyright notices and license terms.
|
|
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
|
|
|
|
|
2021-12-11 17:58:44 +01:00
|
|
|
from . import carrier, stock
|
2016-06-01 19:03:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
stock.PackageType,
|
2021-03-13 23:16:32 +01:00
|
|
|
stock.Package,
|
2020-03-01 12:33:54 +01:00
|
|
|
stock.ShipmentOut,
|
2020-12-20 19:54:48 +01:00
|
|
|
stock.ShipmentInReturn,
|
2020-03-01 12:33:54 +01:00
|
|
|
carrier.CredentialUPS,
|
|
|
|
|
carrier.Carrier,
|
2016-06-01 19:03:55 +02:00
|
|
|
module='stock_package_shipping_ups', type_='model')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
stock.CreateShipping,
|
|
|
|
|
stock.CreateShippingUPS,
|
2016-06-01 19:03:55 +02:00
|
|
|
module='stock_package_shipping_ups', type_='wizard')
|