mirror of
https://github.com/odoo/runbot.git
synced 2025-04-02 00:05:50 +07:00

Move *almost* all the staging code to free functions, in a separate module, and extensively typed. The only bits which didn't move are: - the entry point (the cron hook), because it has to be a model method in order to be called - the `_build_merge_message` method, because it needs to be overridable There's also a bit of an import mess, because the cron & `_build_merge_message` need to call into the new module, but the new module wants the types they belong to, so it's a bit circular.
9 lines
209 B
Python
9 lines
209 B
Python
from . import ir_actions
|
|
from . import res_partner
|
|
from . import project
|
|
from . import pull_requests
|
|
from . import project_freeze
|
|
from . import stagings_create
|
|
from . import staging_cancel
|
|
from . import crons
|