summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js')
-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 4871e9d95bb..b1ee33c4125 100644
--- a/addons/web/static/src/js/search.js
+++ b/addons/web/static/src/js/search.js
@@ -1055,7 +1055,7 @@ openerp.web.search.ManyToOneField = openerp.web.search.CharField.extend({
// TODO: maybe this should not be completely removed
delete defaults[this.attrs.name];
this.model.call('name_get', [[this.id]]).then(
- this.proxy('name_get'));
+ this.proxy('on_name_get'));
} else {
this.got_name.reject();
}