'Launch Action of Wizard'

@api.multi
def action_launch(self, context=None):

    self.ensure_one()
    if (self.type in ('automatic', 'once')):
        self.write({'state': 'done'})
    action = self.env[self.action_id.type].browse(self.action_id.id)
    result = action.read()[0]
    if (action._name != 'ir.actions.act_window'):
        return result
    result.setdefault('context', '{}')
    ctx = safe_eval(result['context'], {'user': self.env.user})
    if ctx.get('res_id'):
        result['res_id'] = ctx.pop('res_id')
    if (self.type == 'automatic'):
        ctx['disable_log'] = True
    result['context'] = ctx
    return result
