From 665bc1c935657c66e2ca9558d02685d605028baf Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 27 Oct 2015 11:55:56 +0100 Subject: [PATCH] [FIX] web{,_kanban}: too much and too little shortcuts When several accesskey with the same key, are defined on elements, the last one (even if not displayed) is the one which will be actioned and the key sequence is pressed. This caused an issue since the "Pager" template is shared between all elements, even the x2many relational widgets. Also there was shortcut for Create/Save/Discard on the form view, but those shortcuts should also be enabled in the list and kanban view. closes #9267 opw-652888 --- addons/web/static/src/xml/base.xml | 15 ++++++++++----- addons/web_kanban/static/src/xml/web_kanban.xml | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a2f09524bf9..819dc46b41e 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -216,8 +216,13 @@
- - + + + + + + +
@@ -361,7 +366,7 @@
-
@@ -402,10 +407,10 @@ - - diff --git a/addons/web_kanban/static/src/xml/web_kanban.xml b/addons/web_kanban/static/src/xml/web_kanban.xml index 07663caa85b..abca23cfec0 100644 --- a/addons/web_kanban/static/src/xml/web_kanban.xml +++ b/addons/web_kanban/static/src/xml/web_kanban.xml @@ -3,7 +3,7 @@
-