From 83221bd1f1be436fa5cddaac6edf4e3ebfa64dfa Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 6 Mar 2012 17:49:28 +0100 Subject: [PATCH] [FIX] typo in search view's m2o field bzr revid: xmo@openerp.com-20120306164928-j50gshmmui6fn01t --- addons/web/static/src/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }