summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/utils.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-05-11 10:37:20 +0200
committerqsm-odoo <qsm@odoo.com>2016-05-11 13:21:20 +0200
commit1d9f7d279a74aaf6aaf25f91e2313b23b4122827 (patch)
treebde809d2527405c8de9ef04f2c14231ad38d4784 /addons/web/static/src/js/framework/utils.js
parent7db8f73ee0e1f8cc9c18d6ebad165353f73cc8dc (diff)
[FIX] web: m2o dropdown empty results
When clicking on a m2o without typing any search text, the dropdown shows results for the empty search string. The problem is that, on some databases, records with empty names exist. However ui-autocomplete library shows empty string label as dropdown divider. Since a task is in development to prevent users from having non trimmed record names, the solution that was chosen here is to exclude empty names from the results. As the name_search can't evaluate trimmed field, this commit fix the problem for up to three spaces record names.
Diffstat (limited to 'addons/web/static/src/js/framework/utils.js')
0 files changed, 0 insertions, 0 deletions