[FIX] web: fix discuss click all test

task-2292595

closes odoo/odoo#62473

X-original-commit: ea2d1484fcd91efe89306d6106c01fcdde1c20c3
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
Sébastien Theys
2020-11-27 07:03:52 +00:00
parent 00f7bd66be
commit 9c4df33e20
+5 -1
View File
@@ -38,7 +38,11 @@
if (DiscussWidget) {
DiscussWidget.include({
on_attach_callback: async function () {
/**
* Overriding a method that is called every time the discuss
* component is updated.
*/
_updateControlPanel: async function () {
await this._super(...arguments);
viewUpdateCount++;
},