From 1532bcab0f4239d83564216a2653c7b44739fdd3 Mon Sep 17 00:00:00 2001 From: David James Date: Sun, 26 Feb 2023 18:19:06 +1100 Subject: [PATCH] [FIX] fix typo in selection field value --- runbot/models/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/batch.py b/runbot/models/batch.py index 4fde91f2..560ce1c8 100644 --- a/runbot/models/batch.py +++ b/runbot/models/batch.py @@ -332,7 +332,7 @@ class Batch(models.Model): build = self.env['runbot.build'] link_type = 'created' force_trigger = trigger_custom and trigger_custom.start_mode == 'force' - skip_trigger = (trigger_custom and trigger_custom.start_mode == 'disable') or trigger.manual + skip_trigger = (trigger_custom and trigger_custom.start_mode == 'disabled') or trigger.manual should_start = ((trigger.repo_ids & bundle_repos) or bundle.build_all or bundle.sticky) if force_trigger or (should_start and not skip_trigger): # only auto link build if bundle has a branch for this trigger link_type, build = self._create_build(params)