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
|
2022-03-03 14:41:01 +01:00
|
|
|
from . import position
|
2021-08-26 20:16:55 +02:00
|
|
|
from . import stock
|
|
|
|
from . import shipment
|
2021-10-05 18:12:56 +02:00
|
|
|
from . import inventory
|
2023-10-24 21:58:28 +02:00
|
|
|
from . import location
|
2021-08-26 20:16:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
|
|
|
product.Product,
|
2022-03-03 14:41:01 +01:00
|
|
|
product.Template,
|
2022-04-27 00:20:35 +02:00
|
|
|
product.AverageCost,
|
2022-03-03 14:41:01 +01:00
|
|
|
position.ProductPosition,
|
|
|
|
position.ProductTemplatePosition,
|
2021-08-26 20:16:55 +02:00
|
|
|
stock.Move,
|
|
|
|
stock.MoveByProductStart,
|
2021-09-23 15:15:13 +02:00
|
|
|
stock.Lot,
|
|
|
|
stock.WarehouseStockStart,
|
|
|
|
stock.WarehouseStockDetailedStart,
|
|
|
|
stock.PrintProductsStart,
|
2021-08-26 20:16:55 +02:00
|
|
|
shipment.CreateInternalShipmentStart,
|
|
|
|
shipment.InternalShipment,
|
2021-09-01 08:34:02 +02:00
|
|
|
shipment.ShipmentIn,
|
2023-10-13 18:47:32 +02:00
|
|
|
shipment.ShipmentOut,
|
2021-08-27 21:42:38 +02:00
|
|
|
shipment.ShipmentDetailedStart,
|
2021-10-05 18:12:56 +02:00
|
|
|
inventory.Inventory,
|
2022-09-30 22:57:39 +02:00
|
|
|
inventory.InventoryLine,
|
2021-10-05 19:12:09 +02:00
|
|
|
inventory.CreateInventoriesStart,
|
2021-12-29 17:41:02 +01:00
|
|
|
stock.WarehouseKardexStockStart,
|
2023-12-04 01:28:55 +01:00
|
|
|
stock.CreateOrderPointStart,
|
2022-05-13 21:26:29 +02:00
|
|
|
product.ChangeUdmProductStart,
|
2023-10-24 21:58:28 +02:00
|
|
|
location.ProductsByLocations,
|
2021-08-26 20:16:55 +02:00
|
|
|
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,
|
2021-12-29 17:41:02 +01:00
|
|
|
stock.WarehouseKardexStock,
|
2021-08-26 20:16:55 +02:00
|
|
|
shipment.CreateInternalShipment,
|
|
|
|
stock.WarehouseStock,
|
|
|
|
stock.PrintProducts,
|
2023-12-04 01:28:55 +01:00
|
|
|
stock.CreateOrderPoint,
|
2021-08-26 20:16:55 +02:00
|
|
|
shipment.ShipmentOutForceDraft,
|
|
|
|
shipment.ShipmentInternalForceDraft,
|
2021-09-15 16:32:11 +02:00
|
|
|
shipment.Assign,
|
2021-10-05 19:12:09 +02:00
|
|
|
inventory.CreateInventories,
|
2021-12-09 20:10:33 +01:00
|
|
|
shipment.ShipmentInForceDraft,
|
2022-01-19 17:10:01 +01:00
|
|
|
shipment.ShipmentInReturnForceDraft,
|
2022-01-18 06:12:42 +01:00
|
|
|
shipment.ShipmentInternalLoadStock,
|
2022-05-13 21:26:29 +02:00
|
|
|
product.ChangeUdmProduct,
|
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-12-29 17:41:02 +01:00
|
|
|
stock.WarehouseKardexReport,
|
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')
|