parent
32f5a61c5d
commit
402d8824f3
2 changed files with 5 additions and 0 deletions
|
@ -13,5 +13,6 @@ def register():
|
|||
product.Category,
|
||||
product.TemplateCompany,
|
||||
product.Template,
|
||||
product.Product,
|
||||
stock.Lot,
|
||||
module='stock_lot_sequence', type_='model')
|
||||
|
|
|
@ -123,3 +123,7 @@ class Template(metaclass=PoolMeta):
|
|||
states={
|
||||
'invisible': ~Eval('context', {}).get('company'),
|
||||
}))
|
||||
|
||||
|
||||
class Product(metaclass=PoolMeta):
|
||||
__name__ = 'product.product'
|
||||
|
|
Loading…
Reference in a new issue