2020-09-12 16:24:11 +02:00
|
|
|
# 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
|
|
|
|
|
|
2021-12-11 17:58:44 +01:00
|
|
|
from . import production, stock
|
2020-09-12 16:24:11 +02:00
|
|
|
|
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
stock.ShipmentInReturn,
|
|
|
|
|
stock.ShipmentOut,
|
|
|
|
|
stock.ShipmentInternal,
|
2021-04-12 19:43:05 +02:00
|
|
|
stock.ShipmentAssignedMove,
|
2020-09-12 16:24:11 +02:00
|
|
|
stock.ShipmentAssignManualShow,
|
2021-04-12 19:43:05 +02:00
|
|
|
stock.ShipmentUnassignManualShow,
|
2020-09-12 16:24:11 +02:00
|
|
|
module='stock_assign_manual', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
stock.ShipmentAssignManual,
|
2021-04-12 19:43:05 +02:00
|
|
|
stock.ShipmentUnassignManual,
|
2020-09-12 16:24:11 +02:00
|
|
|
module='stock_assign_manual', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
production.Production,
|
|
|
|
|
module='stock_assign_manual', type_='model', depends=['production'])
|