[imp] avoid to reload the list view 2 times in many2many
bzr revid: nicolas.vanhoren@openerp.com-20110622145354-ihabdaecz0rwq970
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user