2015-07-03 11:29:35 +02:00
|
|
|
# The COPYRIGHT file at the top level of this repository contains the full
|
|
|
|
# copyright notices and license terms.
|
|
|
|
from trytond.pool import Pool
|
2021-06-29 19:53:50 +02:00
|
|
|
from . import configuration
|
2015-07-21 13:01:06 +02:00
|
|
|
from .unit_load import (UnitLoad, UnitLoadMove, MoveUnitLoad,
|
2017-07-28 18:55:49 +02:00
|
|
|
MoveUnitLoadStart, UnitLoadLabel, DropUnitLoad,
|
2019-01-29 14:00:02 +01:00
|
|
|
DropUnitLoadData, DropUnitLoadFailed, DropUnitLoadFailedProduct,
|
|
|
|
BatchDropUnitLoad, BatchDropUnitLoadData, BatchDropUnitLoadConfirm,
|
2019-10-14 12:51:14 +02:00
|
|
|
DropUnitLoadUL, DropUnitLoadEndDate, CaseLabel)
|
2022-01-07 16:22:08 +01:00
|
|
|
from . import stock
|
|
|
|
from . import shipment
|
2019-01-29 14:00:02 +01:00
|
|
|
from .res import User
|
2021-07-16 14:40:40 +02:00
|
|
|
from . import stock_lot
|
2022-06-03 17:51:57 +02:00
|
|
|
from . import ir
|
|
|
|
from .unit_load import cases_digits
|
|
|
|
|
|
|
|
__all__ = [cases_digits]
|
2015-07-03 11:29:35 +02:00
|
|
|
|
2015-07-21 13:01:06 +02:00
|
|
|
|
2015-07-03 11:29:35 +02:00
|
|
|
def register():
|
|
|
|
Pool.register(
|
2021-06-29 19:53:50 +02:00
|
|
|
configuration.Configuration,
|
|
|
|
configuration.ConfigurationSequence,
|
|
|
|
configuration.ConfigurationULProductionType,
|
|
|
|
configuration.ConfigurationDoUlDrop,
|
2022-02-10 13:23:29 +01:00
|
|
|
configuration.ProductionConfiguration,
|
2021-06-29 19:53:50 +02:00
|
|
|
configuration.ConfigurationProposeDropEndDate,
|
2022-01-07 16:22:08 +01:00
|
|
|
stock.Move,
|
2015-07-21 13:01:06 +02:00
|
|
|
MoveUnitLoadStart,
|
2020-06-16 19:26:25 +02:00
|
|
|
UnitLoad,
|
|
|
|
UnitLoadMove,
|
2019-01-29 14:00:02 +01:00
|
|
|
DropUnitLoadEndDate,
|
|
|
|
DropUnitLoadData,
|
|
|
|
DropUnitLoadUL,
|
2016-01-07 18:57:46 +01:00
|
|
|
DropUnitLoadFailed,
|
|
|
|
DropUnitLoadFailedProduct,
|
2022-01-07 16:22:08 +01:00
|
|
|
shipment.ShipmentOut,
|
|
|
|
shipment.ShipmentInternal,
|
|
|
|
shipment.ShipmentOutReturn,
|
|
|
|
shipment.ShipmentInReturn,
|
2016-01-27 22:20:38 +01:00
|
|
|
BatchDropUnitLoadData,
|
|
|
|
BatchDropUnitLoadConfirm,
|
2019-01-29 14:00:02 +01:00
|
|
|
User,
|
2022-06-03 17:51:57 +02:00
|
|
|
ir.Configuration,
|
2015-07-03 11:29:35 +02:00
|
|
|
module='stock_unit_load', type_='model')
|
2015-07-21 13:01:06 +02:00
|
|
|
Pool.register(
|
|
|
|
MoveUnitLoad,
|
2016-01-07 18:57:46 +01:00
|
|
|
DropUnitLoad,
|
2016-01-27 22:20:38 +01:00
|
|
|
BatchDropUnitLoad,
|
2022-01-07 16:22:08 +01:00
|
|
|
shipment.Assign,
|
2015-07-21 13:01:06 +02:00
|
|
|
module='stock_unit_load', type_='wizard')
|
2015-11-25 09:18:40 +01:00
|
|
|
Pool.register(
|
|
|
|
UnitLoadLabel,
|
2019-10-14 12:51:14 +02:00
|
|
|
CaseLabel,
|
2015-11-25 09:18:40 +01:00
|
|
|
module='stock_unit_load', type_='report')
|
2019-04-03 10:47:30 +02:00
|
|
|
Pool.register(
|
2022-01-07 16:22:08 +01:00
|
|
|
stock.Move2,
|
2023-01-19 10:27:07 +01:00
|
|
|
shipment.ShipmentInternalDone2Cancel,
|
|
|
|
shipment.ShipmentOutDone2Cancel,
|
|
|
|
shipment.ShipmentOutReturnDone2Cancel,
|
2019-04-03 10:47:30 +02:00
|
|
|
module='stock_unit_load', type_='model',
|
|
|
|
depends=['stock_move_done2cancel'])
|
2021-07-16 14:40:40 +02:00
|
|
|
Pool.register(
|
|
|
|
stock_lot.ShipmentOut,
|
2021-07-27 10:20:50 +02:00
|
|
|
stock_lot.UnitLoad,
|
2021-07-16 14:40:40 +02:00
|
|
|
module='stock_unit_load', type_='model',
|
|
|
|
depends=['stock_lot'])
|