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:
Cédric Krier
2026-05-19 17:33:44 +02:00
parent eec4bae8d0
commit 02031672ca
+1 -1
View File
@@ -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();
}