kalenislims/lims_report_html/laboratory.py

14 lines
452 B
Python

# This file is part of lims_report_html module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.model import fields
from trytond.pool import PoolMeta
class Laboratory(metaclass=PoolMeta):
__name__ = 'lims.laboratory'
result_template = fields.Many2One('lims.result_report.template',
'Report Template', domain=[('type', 'in', [None, 'base'])])