The command palette has the priority when useAutoFocus is call. Like that, the command palette will not lose focus when clicking on an app on the home menu and then directly opening the command palette before the app mounting TASK ID: 3338117 closes odoo/odoo#139124 X-original-commit: 660d27ac38c225559ea3697a24a34ac70ede8ec1 Signed-off-by: Florent Dardenne (dafl) <dafl@odoo.com>