Since #106454 the `isOdooFocused` variable is not updated correctly. This commit fixes this issue. closes odoo/odoo#106556 X-original-commit: 0e9351e7bfda370a994a4cc38383bf7d5547dac8 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Stockbauer Matthieu (tsm) <tsm@odoo.com>