[FIX] typo in search view's m2o field

bzr revid: xmo@openerp.com-20120306164928-j50gshmmui6fn01t
This commit is contained in:
Xavier Morel
2012-03-06 17:49:28 +01:00
parent d05add0c7d
commit 83221bd1f1
+1 -1
View File
@@ -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();
}