Skip to content

Commit cce8165

Browse files
committed
[ADD] also kill skipped builds
1 parent ff06c33 commit cce8165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runbot/runbot.py

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

11141114
def skip(self, cr, uid, ids, context=None):
1115-
self.write(cr, uid, ids, {'state': 'done', 'result': 'skipped'}, context=context)
1115+
self.kill(cr, uid, ids, result='skipped', context=context)
11161116
to_unduplicate = self.search(cr, uid, [('id', 'in', ids), ('duplicate_id', '!=', False)])
11171117
if len(to_unduplicate):
11181118
self.force(cr, uid, to_unduplicate, context=context)

0 commit comments

Comments
 (0)