runbot/runbot_merge/models/__init__.py
Xavier Morel d8c2782d1f [IMP] runbot_merge: add cron trigger button
"Run manually" is a bit meh, as it runs the cron synchronously (so you
have to wait for it, and hope it doesn't run for longer than the
request timeout which may be smaller than the cron timeout) and it can
run in a subtly different environment than normal, which can lead to
different behaviour.

Instead add a button to enqueue a cron trigger, now that they exist
that's much closer to what we actually want, and it does run the cron
in a normal / expected environment.
2025-02-18 11:45:56 +01:00

17 lines
377 B
Python

from . import ir_actions
from . import ir_cron
from . import ir_ui_view
from . import mail_thread
from . import res_partner
from . import project
from . import pull_requests
from . import batch
from . import patcher
from . import project_freeze
from . import stagings_create
from . import staging_cancel
from . import backport
from . import events_sources
from . import crons