[FIX] Some problem when clicking 'Add' in many2many.

bzr revid: nicolas.vanhoren@openerp.com-20110426142424-llpiez4i9tgvjkr6
This commit is contained in:
niv-openerp 2011-04-26 16:24:24 +02:00
parent 7bb1ffec7b
commit 33a7bbb0c4
1 changed files with 2 additions and 1 deletions

View File

@ -942,7 +942,8 @@ openerp.base.form.Many2ManyListView = openerp.base.ListView.extend({
'context': this.dataset.context
}, this.do_fill_table);
},
do_add_record: function () {
do_add_record: function (e) {
e.stopImmediatePropagation();
// TODO: need to open a popup with search view
},
on_select_row: function(event) {