trytond-production_quality_.../ir.py
juanjo-nan 713d847591 Add quality templates from products into productions. (#1)
Add cron to create quality test in productions.

043843
2021-07-27 09:52:24 +02:00

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")
])