From 665bc1c935657c66e2ca9558d02685d605028baf Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 27 Oct 2015 11:55:56 +0100 Subject: [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 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'addons/web/static/src/xml/base.xml') 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 @@ - - -- cgit v1.2.3 From fb872f84f15e46ecf6ca5be0631fae62b523ebbd Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Thu, 29 Oct 2015 23:40:24 +0100 Subject: [FIX] web: no accesskey for x2m pager The fix in 665bc1c solved the issue for pager of some X2Many widget x2m which would shadow the accesskey to go to previous/next page of the top view's current model. But in the case a web.Pager (used in community for a X2Many kanban widget) the fix had no effect. opw-652888 --- addons/web/static/src/xml/base.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 819dc46b41e..7937b0a5615 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1430,8 +1430,13 @@
/ -
-- cgit v1.2.3