mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: fix ask_kill for children_ids
This commit is contained in:
parent
c4837641cc
commit
1b2940705d
@ -831,7 +831,7 @@ class runbot_build(models.Model):
|
|||||||
build.write({'local_state': 'deathrow'})
|
build.write({'local_state': 'deathrow'})
|
||||||
build._log('_ask_kill', 'Killing build %s, requested by %s (user #%s)' % (build.dest, user.name, uid))
|
build._log('_ask_kill', 'Killing build %s, requested by %s (user #%s)' % (build.dest, user.name, uid))
|
||||||
for child in build.children_ids: # should we filter build that are target of a duplicate_id?
|
for child in build.children_ids: # should we filter build that are target of a duplicate_id?
|
||||||
if not build.duplicate_id and build.local_state != 'done':
|
if not child.duplicate_id:
|
||||||
child._ask_kill()
|
child._ask_kill()
|
||||||
|
|
||||||
def _cmd(self): # why not remove build.modules output ?
|
def _cmd(self): # why not remove build.modules output ?
|
||||||
|
Loading…
Reference in New Issue
Block a user