Files
tryton/__init__.py
T
Cédric Krier a38be10f40 Add relates for lots
- relate from lot to locations quantity
- relate from product/template to lots by warehouse

issue9504
review298351002
2020-10-11 16:05:16 +02:00

31 lines
837 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.LotByWarehouseContext,
stock.Location,
stock.Move,
stock.ShipmentIn,
stock.ShipmentOut,
stock.ShipmentOutReturn,
stock.ShipmentInternal,
stock.Period,
stock.PeriodCacheLot,
stock.Inventory,
stock.InventoryLine,
stock.InventoryCountSearch,
product.Template,
product.Product,
module='stock_lot', type_='model')
Pool.register(
stock.InventoryCount,
module='stock_lot', type_='wizard')