trytonpsk-stock_co/__init__.py

60 lines
1.9 KiB
Python
Executable File

# 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 position
from . import stock
from . import shipment
from . import inventory
def register():
Pool.register(
product.Product,
product.Template,
product.AverageCost,
position.ProductPosition,
position.ProductTemplatePosition,
stock.Move,
stock.MoveByProductStart,
stock.Lot,
stock.WarehouseStockStart,
stock.WarehouseStockDetailedStart,
stock.PrintProductsStart,
shipment.CreateInternalShipmentStart,
shipment.InternalShipment,
shipment.ShipmentIn,
shipment.ShipmentDetailedStart,
inventory.Inventory,
inventory.CreateInventoriesStart,
stock.WarehouseKardexStockStart,
product.ChangeUdmProductStart,
module='stock_co', type_='model')
Pool.register(
shipment.ShipmentDetailed,
stock.WarehouseStockDetailed,
stock.PrintMoveByProduct,
stock.WarehouseKardexStock,
shipment.CreateInternalShipment,
stock.WarehouseStock,
stock.PrintProducts,
shipment.ShipmentOutForceDraft,
shipment.ShipmentInternalForceDraft,
shipment.Assign,
inventory.CreateInventories,
shipment.ShipmentInForceDraft,
shipment.ShipmentInReturnForceDraft,
shipment.ShipmentInternalLoadStock,
product.ChangeUdmProduct,
module='stock_co', type_='wizard')
Pool.register(
stock.MoveByProduct,
stock.WarehouseStockDetailedReport,
stock.WarehouseKardexReport,
shipment.ShipmentDetailedReport,
stock.WarehouseReport,
stock.PrintProductsReport,
shipment.ShipmentInReturnReport,
module='stock_co', type_='report')