mirror of
https://github.com/Kalenis/kalenislims.git
synced 2023-12-14 07:13:04 +01:00
18 lines
525 B
Python
18 lines
525 B
Python
|
# 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
|
||
|
|
||
|
__all__ = ['QualityTest']
|
||
|
|
||
|
|
||
|
class QualityTest(metaclass=PoolMeta):
|
||
|
__name__ = 'lims.quality.test'
|
||
|
|
||
|
@classmethod
|
||
|
def confirm(cls, tests):
|
||
|
Planification = Pool().get('lims.planification')
|
||
|
super(QualityTest, cls).confirm(tests)
|
||
|
Planification.automatic_plan(tests=tests)
|