When synchronize the outgoing or incoming move, the secondary unit must be copied from the template. Closes #12301 (grafted from b190ea97bd1a2040686ed6c9565ac20c45c529f4) --HG-- branch : 6.0
18 lines
448 B
Python
18 lines
448 B
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 stock
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
stock.Move,
|
|
stock.ShipmentIn,
|
|
stock.ShipmentOut,
|
|
stock.ShipmentOutReturn,
|
|
stock.ShipmentInternal,
|
|
module='stock_secondary_unit', type_='model')
|