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
|
2017-07-19 10:01:21 +02:00
|
|
|
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(
|
2017-07-19 10:01:21 +02:00
|
|
|
configuration.Configuration,
|
|
|
|
operation.Operation,
|
|
|
|
operation.OperationTracking,
|
|
|
|
operation.Production,
|
2013-10-30 23:30:06 +01:00
|
|
|
module='production_operation', type_='model')
|
2022-09-05 11:09:33 +02:00
|
|
|
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')
|
|
|
|
|