Files
tryton/modules/stock_lot/__init__.py
T

45 lines
1.2 KiB
Python
Raw Normal View History

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
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,
stock.LotsByLocations,
2020-10-11 16:05:16 +02:00
stock.LotByWarehouseContext,
stock.Location,
2018-07-27 17:08:13 +02:00
stock.Move,
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,
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(
stock.MoveAddLots,
2018-07-27 17:08:13 +02:00
stock.InventoryCount,
module='stock_lot', type_='wizard')
Pool.register(
stock.ShipmentDrop,
module='stock_lot', type_='model',
depends=['sale_supply_drop_shipment'])