'Wizard action for updating the current value'

@api.multi
def action_update_current(self):

    for wiz in self:
        wiz.goal_id.write({'current': wiz.current, 'goal_id': wiz.goal_id.id, 'to_update': False})
        wiz.goal_id.update_goal()
    return False
