Hide a parent without its child

I totally forgot this post !
Thanks a lot it works :wink: