trytonpsk-stock_co/__init__.py

38 lines
1.1 KiB
Python

# 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,
stock.WarehouseStockStart,
stock.Inventory,
# stock.ShipmentInternal,
shipment.ShipmentDetailedStart,
stock.PrintProductsStart,
module='stock_co', type_='model')
Pool.register(
shipment.ShipmentDetailed,
stock.PrintMoveByProduct,
shipment.CreateInternalShipment,
stock.WarehouseStock,
stock.PrintProducts,
shipment.ShipmentOutForceDraft,
shipment.ShipmentInternalForceDraft,
module='stock_co', type_='wizard')
Pool.register(
stock.MoveByProduct,
shipment.ShipmentDetailedReport,
stock.WarehouseReport,
stock.PrintProductsReport,
module='stock_co', type_='report')