summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-10-15 10:55:23 +0200
committerXavier Morel <xmo@openerp.com>2013-10-15 10:55:23 +0200
commit7040fb35dd8fcba26ca74566fa0d64e7ef07ffbb (patch)
tree726696a3ac523e8ec4054aabc93cd27498733a51
parent8874046c398e251b4a1f2057b61e1ec14d894a36 (diff)
[FIX] double-escaping of section labels in m2o completion
bzr revid: xmo@openerp.com-20131015085523-5s5f587486gaa9zj
-rw-r--r--addons/web/static/src/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/search.js b/addons/web/static/src/js/search.js
index 07d1407392e..570c17649c1 100644
--- a/addons/web/static/src/js/search.js
+++ b/addons/web/static/src/js/search.js
@@ -1547,7 +1547,7 @@ instance.web.search.ManyToOneField = instance.web.search.CharField.extend({
context: context
}).then(function (results) {
if (_.isEmpty(results)) { return null; }
- return [{label: _.escape(self.attrs.string)}].concat(
+ return [{label: self.attrs.string}].concat(
_(results).map(function (result) {
return {
label: _.escape(result[1]),