[FIX] runbot: test upgrade for dev branches again

This commit is contained in:
Xavier-Do 2024-11-20 08:31:24 +01:00
parent 325296a959
commit a962d2ba34

View File

@ -879,7 +879,7 @@ class ConfigStep(models.Model):
).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']