mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: only top parent is marked killable
This commit is contained in:
parent
9cf750119d
commit
a80dc25699
@ -119,7 +119,7 @@ class Runbot(models.AbstractModel):
|
||||
return
|
||||
|
||||
for build in testing_builds:
|
||||
if build.killable:
|
||||
if build.top_parent.killable:
|
||||
build.top_parent._ask_kill(message='Build automatically killed, new build found.')
|
||||
|
||||
def _allocate_builds(self, host, nb_slots, domain=None):
|
||||
|
Loading…
Reference in New Issue
Block a user