trytond-product_purchase_ho.../product.py

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'