[IMP] Improve visibility changes as specified in task

- Task: https://www.odoo.com/web#id=5183&view_type=form&model=project.task
- Pad: https://pad.odoo.com/p/r.osgTl7m2AJDF4CQy