Files
tryton/modules/stock_lot_unit/__init__.py
T

32 lines
853 B
Python
Raw Normal View History

2018-07-27 17:09:12 +02: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.
from trytond.pool import Pool
2021-12-11 17:58:44 +01:00
from . import product, stock
from .stock import LotUnitMixin
__all__ = ['LotUnitMixin', 'register']
2018-07-27 17:09:12 +02:00
def register():
Pool.register(
product.Template,
product.Product,
stock.Lot,
stock.MoveAddLotsStartLot,
2018-07-27 17:09:12 +02:00
stock.Move,
stock.Inventory,
stock.ShipmentIn,
stock.ShipmentInReturn,
stock.ShipmentOut,
stock.ShipmentOutReturn,
module='stock_lot_unit', type_='model')
Pool.register(
stock.Production,
module='stock_lot_unit', type_='model',
depends=['production'])
Pool.register(
stock.InventoryCount,
module='stock_lot_unit', type_='wizard')