From 4440484c80ce8c2183b093f4319ce83ab409e7df Mon Sep 17 00:00:00 2001 From: Sergey Shebanin Date: Mon, 12 Jul 2021 10:25:26 +0000 Subject: [PATCH] [IMP] hotkey_service add Delete & Tab to list of allowed keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#73555 Signed-off-by: Géry Debongnie (ged) --- addons/web/static/src/core/hotkeys/hotkey_service.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/static/src/core/hotkeys/hotkey_service.js b/addons/web/static/src/core/hotkeys/hotkey_service.js index 7411f4fc091..754a75989db 100644 --- a/addons/web/static/src/core/hotkeys/hotkey_service.js +++ b/addons/web/static/src/core/hotkeys/hotkey_service.js @@ -17,6 +17,8 @@ const NAV_KEYS = [ "backspace", "enter", "escape", + "tab", + "delete", ]; const MODIFIERS = new Set(["alt", "control", "shift"]); const AUTHORIZED_KEYS = new Set([...ALPHANUM_KEYS, ...NAV_KEYS]);