diff --git a/runbot/models/repo.py b/runbot/models/repo.py index 54cddf532..414ca7764 100644 --- a/runbot/models/repo.py +++ b/runbot/models/repo.py @@ -57,6 +57,7 @@ class Trigger(models.Model): has_stats = fields.Boolean('Has a make_stats config step', compute="_compute_has_stats", store=True) team_ids = fields.Many2many('runbot.team', string="Runbot Teams", help="Teams responsible of this trigger, mainly usefull for nightly") + active = fields.Boolean("Active", default=True) @api.depends('config_id.step_order_ids.step_id.make_stats') def _compute_has_stats(self): diff --git a/runbot/templates/batch.xml b/runbot/templates/batch.xml index aac94875d..1e74b35f0 100644 --- a/runbot/templates/batch.xml +++ b/runbot/templates/batch.xml @@ -121,7 +121,9 @@