[FIX] double-escaping of section labels in m2o completion
bzr revid: xmo@openerp.com-20131015085523-5s5f587486gaa9zj
This commit is contained in:
@@ -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]),
|
||||
|
||||
Reference in New Issue
Block a user