From d4f8096790e3a76e3219d37ea17a7154b426d2fe Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 23 May 2016 15:18:03 +0200 Subject: [FIX] web,base: m2o empty name results M2O use the autocomplete lib to display its content. The problem is that if a result is empty (or only composed of whitespaces), a divider is displayed in the dropdown. Commit 1d9f7d279a74aaf6aaf25f91e2313b23b4122827 was fixing this by only displaying non-empty name results... but it did not work as many models implement the name_search method the wrong way. The new solution is to add a default display for record values which are empty strings, at the right places in the webclient components. --- addons/web/static/src/xml/base.xml | 4 ++-- 1 file changed, 2 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 594ccfdf58e..a75e4d994ed 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -750,7 +750,7 @@ - + @@ -1120,7 +1120,7 @@
- +

Available fields

-- cgit v1.2.3