From 36b35b6711e7ac235df0f3f5322441f34f31e57e Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Wed, 20 Nov 2024 08:31:24 +0100 Subject: [PATCH] [FIX] runbot: test upgrade for dev branches again --- runbot/models/build_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/build_config.py b/runbot/models/build_config.py index 080ea0279..1025e996d 100644 --- a/runbot/models/build_config.py +++ b/runbot/models/build_config.py @@ -879,7 +879,7 @@ def _reference_batches_complement(self, batch, trigger): ).mapped('base_bundle_id').filtered('to_upgrade').mapped('last_done_batch') def _reference_batches_upgrade(self, batch, category_id): - if not batch.bundle_id.to_upgrade: + if not batch.bundle_id.base_id.to_upgrade: return self.env['runbot.batch'] bundle = batch.bundle_id target_refs_bundles = self.env['runbot.bundle']