mirror of
https://github.com/NaN-tic/trytond-production_quality_control.git
synced 2023-12-14 06:22:59 +01:00
713d847591
Add cron to create quality test in productions. 043843
14 lines
No EOL
416 B
Python
14 lines
No EOL
416 B
Python
#The COPYRIGHT file at the top level of this repository contains the full
|
|
#copyright notices and license terms.
|
|
from trytond.pool import PoolMeta
|
|
|
|
|
|
class Cron(metaclass=PoolMeta):
|
|
__name__ = 'ir.cron'
|
|
|
|
@classmethod
|
|
def __setup__(cls):
|
|
super().__setup__()
|
|
cls.method.selection.extend([
|
|
('production|create_quality_tests_worker', "Create quality control")
|
|
]) |