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
(grafted from a20b069dd1699260f029e93ee2e0c306a15fe155)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-05-19 17:33:44 +02:00
parent bf5328229e
commit 1e64288bda
+1 -1
View File
@@ -2791,7 +2791,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();
}