mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: sync the build sequence with the build id
The branch order was wrong because of a zeroed build sequence.
This commit is contained in:
parent
08beb51f2e
commit
5b8184890e
@ -60,7 +60,7 @@ class runbot_build(models.Model):
|
|||||||
|
|
||||||
def create(self, vals):
|
def create(self, vals):
|
||||||
build_id = super(runbot_build, self).create(vals)
|
build_id = super(runbot_build, self).create(vals)
|
||||||
extra_info = {'sequence': self.id}
|
extra_info = {'sequence': build_id.id}
|
||||||
|
|
||||||
# detect duplicate
|
# detect duplicate
|
||||||
duplicate_id = None
|
duplicate_id = None
|
||||||
|
Loading…
Reference in New Issue
Block a user