From a966b02cb345d4323d678e95c1e1501477947209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Mon, 12 Feb 2024 14:01:05 +0100 Subject: [PATCH] Fix pontential issue with system fields updating in inline editing --- client/web/compose/src/mixins/record.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/web/compose/src/mixins/record.js b/client/web/compose/src/mixins/record.js index 9b24f3c28..afa97c02e 100644 --- a/client/web/compose/src/mixins/record.js +++ b/client/web/compose/src/mixins/record.js @@ -306,8 +306,8 @@ export default { const values = [] this.fields.forEach(f => { - const { name, isMulti } = this.getField(f) - const value = this.record.values[name] || this.record[name] + const { name, isMulti, isSystem } = this.getField(f) + const value = isSystem ? this.record[name] : this.record.values[name] if (!isMulti) { values.push({ name, value: value ? value.toString() : value })