Skip to content

Commit 05a4d5c

Browse files
committed
[ADD] also kill skipped builds
1 parent bbc9810 commit 05a4d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runbot/runbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ def schedule(self, cr, uid, ids, context=None):
11451145
build._local_cleanup()
11461146

11471147
def skip(self, cr, uid, ids, context=None):
1148-
self.write(cr, uid, ids, {'state': 'done', 'result': 'skipped'}, context=context)
1148+
self.kill(cr, uid, ids, result='skipped', context=context)
11491149
to_unduplicate = self.search(cr, uid, [('id', 'in', ids), ('duplicate_id', '!=', False)])
11501150
if len(to_unduplicate):
11511151
self.force(cr, uid, to_unduplicate, context=context)

0 commit comments

Comments
 (0)