[imp] avoid to reload the list view 2 times in many2many

bzr revid: nicolas.vanhoren@openerp.com-20110622145354-ihabdaecz0rwq970
This commit is contained in:
niv-openerp
2011-06-22 16:53:54 +02:00
parent 9d32bef7c7
commit dbac9436f9
-2
View File
@@ -1518,8 +1518,6 @@ openerp.base.form.FieldMany2Many = openerp.base.form.Field.extend({
this.dataset = new openerp.base.DataSetStatic(
this.session, this.field.relation);
this.dataset.on_unlink.add_last(function(ids) {
self.list_view.reload_content();
self.on_ui_change();
});