Files
tryton/__init__.py
T
Cédric Krier 277a3de175 Improve moves synchronisation on shipments
By using the origin as synchronisation key, the code is simplified but also it
allows to follow when products are changed.
The same design is applied to the internal shipment which allows to synchronise
also the lots.

issue8363
review261811002
2019-08-18 19:22:43 +02:00

31 lines
832 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
from . import product
def register():
Pool.register(
stock.Lot,
stock.LotByLocationContext,
stock.LotType,
stock.Move,
stock.ShipmentIn,
stock.ShipmentOut,
stock.ShipmentOutReturn,
stock.ShipmentInternal,
stock.Period,
stock.PeriodCacheLot,
stock.Inventory,
stock.InventoryLine,
stock.InventoryCountSearch,
product.Template,
product.Product,
product.TemplateLotType,
module='stock_lot', type_='model')
Pool.register(
stock.InventoryCount,
module='stock_lot', type_='wizard')