trytond-production_operation/__init__.py

26 lines
784 B
Python
Raw Normal View History

2014-01-04 19:36:34 +01:00
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
2013-10-30 23:30:06 +01:00
from trytond.pool import Pool
from . import operation
from . import configuration
2013-10-30 23:30:06 +01:00
2018-03-19 16:28:08 +01:00
2013-10-30 23:30:06 +01:00
def register():
Pool.register(
configuration.Configuration,
operation.Operation,
operation.OperationTracking,
operation.Production,
2013-10-30 23:30:06 +01:00
module='production_operation', type_='model')
Pool.register(
operation.OperationSubcontrat,
operation.PurchaseLine,
operation.PurchaseRequest,
depends=['purchase_request'],
module='production_operation', type_='model')
Pool.register(
operation.CreatePurchase,
depends=['purchase_request'],
module='production_operation', type_='wizard')