kalenislims/lims_planning_automatic/quality.py

16 lines
482 B
Python
Raw Normal View History

2020-06-10 15:07:19 +02:00
# This file is part of lims_planning_automatic 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 Pool, PoolMeta
class QualityTest(metaclass=PoolMeta):
__name__ = 'lims.quality.test'
@classmethod
def confirm(cls, tests):
Planification = Pool().get('lims.planification')
2020-08-06 19:52:36 +02:00
super().confirm(tests)
2020-06-10 15:07:19 +02:00
Planification.automatic_plan(tests=tests)