'Won semantic: probability = 100 (active untouched)'

@api.multi
def action_set_won(self):

    for lead in self:
        stage_id = lead._stage_find(domain=[('probability', '=', 100.0), ('on_change', '=', True)])
        lead.write({'stage_id': stage_id.id, 'probability': 100})
    return True
