[FIX] typo in search view's m2o field
bzr revid: xmo@openerp.com-20120306164928-j50gshmmui6fn01t
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user