2016-06-01 18:56:52 +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 18:56:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
stock.Package,
|
|
|
|
|
stock.ShipmentOut,
|
2020-12-20 19:54:48 +01:00
|
|
|
stock.ShipmentInReturn,
|
2020-03-01 12:33:54 +01:00
|
|
|
carrier.Carrier,
|
2016-06-01 18:56:52 +02:00
|
|
|
module='stock_package_shipping', type_='model')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
stock.CreateShipping,
|
2021-10-11 18:50:11 +02:00
|
|
|
stock.PrintShippingLabel,
|
2016-06-01 18:56:52 +02:00
|
|
|
module='stock_package_shipping', type_='wizard')
|
2021-10-11 18:50:11 +02:00
|
|
|
Pool.register(
|
|
|
|
|
stock.ShippingLabel,
|
|
|
|
|
module='stock_package_shipping', type_='report')
|