Compute presence and open presence view code action = env['hr.employee']._action_open_presence_view()