Do not save record in editable tree view with parent when checkbox is toggled
The parent record is responsible to save the records which is part of a field. Closes #14848
This commit is contained in:
@@ -2794,7 +2794,7 @@
|
||||
fields, false, false)) {
|
||||
var value = cell.prop('checked');
|
||||
this.field.set_client(record, value);
|
||||
if (record !== current_record) {
|
||||
if ((!this.group.parent) & (record !== current_record)) {
|
||||
// we can not rely on editable tree handler to save the row
|
||||
record.save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user