kalenislims/lims_quality_control/product.py

14 lines
444 B
Python
Raw Normal View History

2020-04-11 23:19:16 +02:00
# This file is part of lims_quality_control module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
2020-04-11 23:19:16 +02:00
from trytond.model import fields
from trytond.pool import PoolMeta
class Template(metaclass=PoolMeta):
__name__ = 'product.template'
product_type = fields.Many2One('lims.product.type', 'Product type')
matrix = fields.Many2One('lims.matrix', 'Matrix')