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.
This commit is contained in:
Cédric Krier committed 2023-07-03 19:49:02 +02:00
1 parent 865f5d4caf
commit 7fb22cc6aa
1 file changed
-4
-4
View File
@@ -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(() => {