Call group delete instead of model.delete when saving records

The method was moved to group in by changeset 5b4da4e8b70f

issue7786
review56441002
This commit is contained in:
Sergi Almacellas Abellana committed 2018-10-18 17:15:23 +02:00
1 parent b22ac44dad
commit d6cba041f7
1 file changed
+1 -1
+1 -1
View File
@@ -293,7 +293,7 @@
this.record_deleted.forEach(function(record) {
this._remove(record);
}.bind(this));
deferreds.push(this.model.delete_(this.record_deleted));
deferreds.push(this.delete_(this.record_deleted));
this.record_deleted.splice(0, this.record_deleted.length);
}
return jQuery.when.apply(jQuery, deferreds);