From 5ea25986112ecf9c81c153465d6be1b3881c0d76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 1 Feb 2023 17:54:26 +0100 Subject: [PATCH] Call set_modified on record in set_client 403bc7a95b0a introduced set_modified as a record method but not a field one. It was unfortunately called on the field in set_client in the same commit. Closes #12061 --- sao/src/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/model.js b/sao/src/model.js index 593108aa52..02426ee6c1 100644 --- a/sao/src/model.js +++ b/sao/src/model.js @@ -1536,7 +1536,7 @@ this.changed(record); record.validate(null, true, false, true); } else if (force_change) { - this.set_modified(); + record.set_modified(); this.changed(record); record.validate(null, true, false, true); }