Add missing Product class.

Task #072807
This commit is contained in:
Juanjo Garcia 2023-01-13 11:25:34 +01:00
parent 300eb20c02
commit cce2b6e50a
2 changed files with 5 additions and 0 deletions

View file

@ -9,5 +9,6 @@ def register():
stock.LotAttribute,
stock.LotAttributeAttributeSet,
stock.Template,
stock.Product,
stock.Lot,
module='stock_lot_attribute', type_='model')

View file

@ -36,6 +36,10 @@ class Template(metaclass=PoolMeta):
lot_attribute_set = fields.Many2One('stock.lot.attribute.set', 'Lot Set')
class Product(metaclass=PoolMeta):
__name__ = 'product.product'
class Lot(metaclass=PoolMeta):
__name__ = 'stock.lot'