2021-08-26 20:16: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
|
|
|
|
from . import product
|
|
|
|
from . import stock
|
|
|
|
from . import shipment
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
|
|
|
product.Product,
|
|
|
|
stock.Move,
|
|
|
|
stock.MoveByProductStart,
|
|
|
|
shipment.CreateInternalShipmentStart,
|
|
|
|
shipment.InternalShipment,
|
2021-09-01 08:34:02 +02:00
|
|
|
shipment.ShipmentIn,
|
2021-08-26 20:16:55 +02:00
|
|
|
stock.WarehouseStockStart,
|
2021-09-16 15:59:39 +02:00
|
|
|
# stock.Inventory,
|
2021-08-28 18:27:55 +02:00
|
|
|
stock.WarehouseStockDetailedStart,
|
2021-08-27 21:42:38 +02:00
|
|
|
shipment.ShipmentDetailedStart,
|
2021-08-26 20:16:55 +02:00
|
|
|
stock.PrintProductsStart,
|
|
|
|
module='stock_co', type_='model')
|
|
|
|
Pool.register(
|
2021-08-27 21:42:38 +02:00
|
|
|
shipment.ShipmentDetailed,
|
2021-08-28 18:27:55 +02:00
|
|
|
stock.WarehouseStockDetailed,
|
2021-08-26 20:16:55 +02:00
|
|
|
stock.PrintMoveByProduct,
|
|
|
|
shipment.CreateInternalShipment,
|
|
|
|
stock.WarehouseStock,
|
|
|
|
stock.PrintProducts,
|
|
|
|
shipment.ShipmentOutForceDraft,
|
|
|
|
shipment.ShipmentInternalForceDraft,
|
2021-09-15 16:32:11 +02:00
|
|
|
shipment.Assign,
|
2021-08-26 20:16:55 +02:00
|
|
|
module='stock_co', type_='wizard')
|
|
|
|
Pool.register(
|
|
|
|
stock.MoveByProduct,
|
2021-08-28 18:27:55 +02:00
|
|
|
stock.WarehouseStockDetailedReport,
|
2021-08-27 21:42:38 +02:00
|
|
|
shipment.ShipmentDetailedReport,
|
2021-08-26 20:16:55 +02:00
|
|
|
stock.WarehouseReport,
|
|
|
|
stock.PrintProductsReport,
|
2021-09-20 21:40:07 +02:00
|
|
|
shipment.ShipmentInReturnReport,
|
2021-08-26 20:16:55 +02:00
|
|
|
module='stock_co', type_='report')
|