[FIX] Bug in popup search for m2x.

bzr revid: nicolas.vanhoren@openerp.com-20110524083558-x3evc3cop9tael9o
This commit is contained in:
niv-openerp 2011-05-24 10:35:58 +02:00
parent eb9de11e69
commit deb8744071
1 changed files with 1 additions and 1 deletions

View File

@ -1191,7 +1191,7 @@ openerp.base.form.Many2XSelectPopup = openerp.base.BaseWidget.extend({
});
openerp.base.form.Many2XPopupListView = openerp.base.ListView.extend({
switch_to_record: function(index) {
select_record: function(index) {
this.popup.on_select_element(this.dataset.ids[index]);
}
});