summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-03-06 17:49:28 +0100
committerXavier Morel <xmo@openerp.com>2012-03-06 17:49:28 +0100
commit83221bd1f1be436fa5cddaac6edf4e3ebfa64dfa (patch)
tree91e7841c05ecf09c831d6766c887225df256825f /addons
parentd05add0c7dc467e56b7fc7b6f8001a1b1f5e0676 (diff)
[FIX] typo in search view's m2o field
bzr revid: xmo@openerp.com-20120306164928-j50gshmmui6fn01t
Diffstat (limited to 'addons')
-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();
}