details: https://code.tryton.org/tryton/commit/3b9e37fe6b7e
branch: 7.8
user: Cédric Krier <[email protected]>
date: Thu Dec 18 00:45:20 2025 +0100
description:
Hide chat when changing current record without chat
(grafted from 6a0e72ef3b33d6221601d0806200deeb0aba2521)
diffstat:
sao/src/tab.js | 1 +
tryton/tryton/gui/window/form.py | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r a8858f7983bf -r 3b9e37fe6b7e sao/src/tab.js
--- a/sao/src/tab.js Thu Dec 18 00:39:38 2025 +0100
+++ b/sao/src/tab.js Thu Dec 18 00:45:20 2025 +0100
@@ -1604,6 +1604,7 @@
this._chat.refresh();
this.sidebar_content.append(this._chat.el);
}
+ this.update_sidebar();
}
},
record_modified: function() {
diff -r a8858f7983bf -r 3b9e37fe6b7e tryton/tryton/gui/window/form.py
--- a/tryton/tryton/gui/window/form.py Thu Dec 18 00:39:38 2025 +0100
+++ b/tryton/tryton/gui/window/form.py Thu Dec 18 00:45:20 2025 +0100
@@ -658,6 +658,8 @@
self.chat.add(self._chat.widget)
self.chat.show_all()
self._chat.refresh()
+ else:
+ self.buttons['chat'].set_active(False)
def record_modified(self):
def _record_modified():