2014-12-02 12:56:10 +01: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.
|
2012-05-13 23:12:11 +02:00
|
|
|
|
2012-09-24 22:18:21 +02:00
|
|
|
from trytond.pool import Pool
|
|
|
|
|
|
2021-12-11 17:58:44 +01:00
|
|
|
from . import product, stock
|
2021-02-03 21:19:06 +01:00
|
|
|
from .stock import LotMixin
|
|
|
|
|
|
|
|
|
|
__all__ = ['LotMixin', 'register']
|
|
|
|
|
|
2012-09-24 22:18:21 +02:00
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2018-07-27 17:08:13 +02:00
|
|
|
stock.Lot,
|
2022-03-19 22:44:15 +01:00
|
|
|
stock.LotTrace,
|
2018-07-27 17:08:13 +02:00
|
|
|
stock.LotByLocationContext,
|
2020-12-23 21:55:13 +01:00
|
|
|
stock.LotsByLocations,
|
2020-10-11 16:05:16 +02:00
|
|
|
stock.LotByWarehouseContext,
|
|
|
|
|
stock.Location,
|
2018-07-27 17:08:13 +02:00
|
|
|
stock.Move,
|
2021-02-03 21:19:06 +01:00
|
|
|
stock.MoveAddLotsStart,
|
|
|
|
|
stock.MoveAddLotsStartLot,
|
2018-07-27 17:08:13 +02:00
|
|
|
stock.ShipmentIn,
|
|
|
|
|
stock.ShipmentOut,
|
|
|
|
|
stock.ShipmentOutReturn,
|
2019-08-18 19:22:43 +02:00
|
|
|
stock.ShipmentInternal,
|
2018-07-27 17:08:13 +02:00
|
|
|
stock.Period,
|
|
|
|
|
stock.PeriodCacheLot,
|
|
|
|
|
stock.Inventory,
|
|
|
|
|
stock.InventoryLine,
|
|
|
|
|
stock.InventoryCountSearch,
|
2021-02-03 21:19:06 +01:00
|
|
|
product.Configuration,
|
|
|
|
|
product.ConfigurationDefaultLotSequence,
|
2018-07-27 17:08:13 +02:00
|
|
|
product.Template,
|
|
|
|
|
product.Product,
|
2012-09-24 22:18:21 +02:00
|
|
|
module='stock_lot', type_='model')
|
2018-07-27 17:08:13 +02:00
|
|
|
Pool.register(
|
2021-02-03 21:19:06 +01:00
|
|
|
stock.MoveAddLots,
|
2018-07-27 17:08:13 +02:00
|
|
|
stock.InventoryCount,
|
|
|
|
|
module='stock_lot', type_='wizard')
|
2022-09-27 00:29:24 +02:00
|
|
|
Pool.register(
|
|
|
|
|
stock.ShipmentDrop,
|
|
|
|
|
module='stock_lot', type_='model',
|
|
|
|
|
depends=['sale_supply_drop_shipment'])
|