From 7fb22cc6aa88a70ce3aa2a19c24a76147b212db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 3 Jul 2023 19:49:02 +0200 Subject: [PATCH] Do not call screen display when instance button modify a record The method set_modified already take care of calling display to the proper screens. --- sao/src/screen.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sao/src/screen.js b/sao/src/screen.js index a35975ebbb..efa193f558 100644 --- a/sao/src/screen.js +++ b/sao/src/screen.js @@ -1975,10 +1975,6 @@ this.context).then(function(changes) { record.set_on_change(changes); record.set_modified(); - for (const screen of - record.group.root_group.screens) { - screen.display(); - } }); } else { return record.save(false).then(() => {