trytond-aeat_sii/cron.py
2020-11-16 10:25:11 +01:00

15 lines
417 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
__all__ = ['Cron']
class Cron(metaclass=PoolMeta):
__name__ = 'ir.cron'
@classmethod
def __setup__(cls):
super().__setup__()
cls.method.selection.extend([
('aeat.sii.report|calculate_sii', "AEAT SII"),
])