I have some objects which i do not want to be disible on the Viewport nor the OpenGL rendering previews, back in 2.79 it worked just fine by disabling render view on the outliner and enabling the 'only render' box on the right side pannel (the one you view with N on 2.79) and now in 2.8 there's the 'hide overlays' option but it doesn't hide those objects anymore.
is there a way to get the same result in 2.8??