a13db188f3c2e26ddf45b3d12d64615bfe876171
Before this commit, we had the following issue: 1. Open two tabs A & B. 2. Receive a message from a channel in tab A. 3. Mark it as read in tab A by clicking on the chat window of the channel. > The unread counter is correct in tab A: no unread messages on this channel, and the messaging menu counter has been updated. > The unread counter is not correct in tab B: it still has unread messages on this channel, and the messaging menu counter has not been updated. The issue was caused by not notifying the updated unread counter to the widgets when receiving the 'channel_seen' notification from the longpoll. It was working in tab A because this is were we made the action, so that it already marked messages as read without waiting for the longpoll response. However, Tab B has to wait for the longpoll response to update the unread counter. It was updating the counter, but it was not notifying the widgets. This commit fixes the issue by letting the widgets know when the unread counter has been reset. Task-ID 1911239 closes odoo/odoo#28833
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%