kalenislims/lims_result_warning/laboratory.py

16 lines
443 B
Python

# This file is part of lims_result_warning module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import PoolMeta
class NotebookRule(metaclass=PoolMeta):
__name__ = 'lims.rule'
@classmethod
def _target_fields(cls):
field_list = super()._target_fields()
field_list.append('result_warning')
return field_list