36 lines
1.0 KiB
Python
Executable File
36 lines
1.0 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 bom, configuration, ir, product, production, stock
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
configuration.Configuration,
|
|
configuration.ConfigurationProductionSequence,
|
|
bom.BOM,
|
|
bom.BOMInput,
|
|
bom.BOMOutput,
|
|
bom.BOMTree,
|
|
bom.OpenBOMTreeStart,
|
|
bom.OpenBOMTreeTree,
|
|
production.Production,
|
|
product.Template,
|
|
product.Product,
|
|
product.ProductBom,
|
|
product.ProductionLeadTime,
|
|
stock.Location,
|
|
stock.Move,
|
|
stock.ProductQuantitiesByWarehouseMove,
|
|
ir.Cron,
|
|
module='production', type_='model')
|
|
Pool.register(
|
|
stock.LotTrace,
|
|
production.Production_Lot,
|
|
module='production', type_='model', depends=['stock_lot'])
|
|
Pool.register(
|
|
bom.OpenBOMTree,
|
|
module='production', type_='wizard')
|