From abacdd97766d58312917901599c277f62bfbef3a Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Thu, 18 May 2017 10:41:00 +0200 Subject: [FIX] web: FieldRadio with numerical keys encoded as strings Before this rev., the FieldRadio didn't work on selection fields with keys like "0", "1"... i.e. strings that can be converted to numerical values. This was due to an automatic conversion of those keys to their numerical value by JQuery, so when the user changed the value, an unknow key was sent to the server (e.g. 1 instead of "1"), causing a crash. This rev. changes the logic a bit so that the keys are no more written in the DOM, but their index in the selection are. --- addons/web/static/src/xml/base.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 b9b7caeea7d..ac463d12be1 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -729,7 +729,8 @@
- +
-- cgit v1.2.3 From 12bf5bb92665f81e9df8e918b130e86356f61052 Mon Sep 17 00:00:00 2001 From: Adrien Dieudonne Date: Thu, 11 May 2017 14:32:02 +0200 Subject: [FIX] web: FieldMany2ManyCheckBoxes: label not clickable Before this commit, it was only possible to click on input to change the value of the many2many_checkboxes widget. For better consistency, we must allow to click on labels. --- addons/web/static/src/xml/base.xml | 5 +++-- 1 file changed, 3 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 ac463d12be1..043dee026c5 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1180,11 +1180,12 @@
+
- +
- +
-- cgit v1.2.3 From 0bb3f21964219073a261b493a2d24560609987c3 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 29 May 2017 14:41:58 +0200 Subject: [FIX] web: domain selector's inputs design Since the new views, the 'o_input' class has to be added on form elements for them to be correctly styled. --- addons/web/static/src/xml/base.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 043dee026c5..ccbf030ff1b 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -603,7 +603,7 @@
-
-
- +
- +
-- cgit v1.2.3