Files
tryton/__init__.py
T
Cédric Krier cccb37f9c7 Improve moves synchronisation on drop shipment
By using an origin drop as synchronisation key, the code is simplified but also
it allows to follow when products are changed.
This allows also to synchronise lots.
The origin drop is filled on the customer moves when the drop shipment is set
to waiting by using the purchase request as link.

issue11700
review411701003
2022-09-27 00:29:24 +02:00

45 lines
1.2 KiB
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 product, stock
from .stock import LotMixin
__all__ = ['LotMixin', 'register']
def register():
Pool.register(
stock.Lot,
stock.LotTrace,
stock.LotByLocationContext,
stock.LotsByLocations,
stock.LotByWarehouseContext,
stock.Location,
stock.Move,
stock.MoveAddLotsStart,
stock.MoveAddLotsStartLot,
stock.ShipmentIn,
stock.ShipmentOut,
stock.ShipmentOutReturn,
stock.ShipmentInternal,
stock.Period,
stock.PeriodCacheLot,
stock.Inventory,
stock.InventoryLine,
stock.InventoryCountSearch,
product.Configuration,
product.ConfigurationDefaultLotSequence,
product.Template,
product.Product,
module='stock_lot', type_='model')
Pool.register(
stock.MoveAddLots,
stock.InventoryCount,
module='stock_lot', type_='wizard')
Pool.register(
stock.ShipmentDrop,
module='stock_lot', type_='model',
depends=['sale_supply_drop_shipment'])