trytond-product_purchase_ho.../product.py
Juanjo Garcia 819172b297 Use product_suplier instead of search().
Fix locale.
Add product class.
Minor fixes in test.
2021-03-22 14:28:32 +01:00

15 lines
420 B
Python

# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import PoolMeta
from trytond.model import fields
class Template(metaclass=PoolMeta):
__name__ = 'product.template'
purchase_homologation_required = fields.Boolean('Purchase Homologation '
'Required')
class Product(metaclass=PoolMeta):
__name__ = 'product.product'