From 5b8184890ec610ebfc3f9b1db6095c8851204d76 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Mon, 12 Mar 2018 18:14:17 +0100 Subject: [PATCH] [FIX] runbot: sync the build sequence with the build id The branch order was wrong because of a zeroed build sequence. --- runbot/models/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/build.py b/runbot/models/build.py index 4d994d19..2ca1bded 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -60,7 +60,7 @@ class runbot_build(models.Model): def create(self, vals): build_id = super(runbot_build, self).create(vals) - extra_info = {'sequence': self.id} + extra_info = {'sequence': build_id.id} # detect duplicate duplicate_id = None