Before this commit the loader did not always get displayed when switching to the options tab. After this commit the loader always gets displayed ASAP when switching to the options tab until the tab is ready and displayed. task-2439295 https://github.com/odoo/odoo/pull/65223 X-original-commit: f2fa17540e130b5cf3f70570a3a97495cfbb7499 Co-authored-by: Samuel Degueldre <sad@odoo.com>