add cronjob

This commit is contained in:
Frederik Jaeckel 2024-02-27 22:40:59 +01:00
parent 132fcbb0d5
commit 9f3e33d225
11 changed files with 339 additions and 168 deletions

View file

@ -7,11 +7,15 @@ from trytond.pool import Pool
from .ir import Rule
from .planner import ScheduledBooking
from .cashbook import Cashbook
from .cron import Cron
from .nextrun import NextRun
def register():
Pool.register(
Rule,
ScheduledBooking,
NextRun,
Cashbook,
Cron,
module='cashbook_planner', type_='model')