[IMP] web: remove onchange on m2o one remove record

These onchanges were needless since it was already done by the
BufferedDataSet when we use alter_ids to add/remove ids/virtual ids from
the recordset.

The onchanges this commit remove were introduced with 6b907bb4d in
juliet 2012 whilst the onchange in the BufferedDataSet when using
dataset alter_ids was with dd747c096 in october 2012.

closes #8273
fixes #7595
opw-644706
This commit is contained in:
Nicolas Lempereur 2015-08-28 13:19:48 +02:00
parent 3e1d5a5cca
commit 15b0596c31
1 changed files with 0 additions and 4 deletions

View File

@ -4415,10 +4415,6 @@ instance.web.form.One2ManyListView = instance.web.ListView.extend({
}));
this.on('edit:after', this, this.proxy('_after_edit'));
this.on('save:before cancel:before', this, this.proxy('_before_unedit'));
this.records
.bind('add', this.proxy("changed_records"))
.bind('remove', this.proxy("changed_records"));
this.on('save:after', this, this.proxy("changed_records"));
},
start: function () {