[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 with6b907bb4d
in juliet 2012 whilst the onchange in the BufferedDataSet when using dataset alter_ids was withdd747c096
in october 2012. closes #8273 fixes #7595 opw-644706
This commit is contained in:
parent
3e1d5a5cca
commit
15b0596c31
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue