7cdfe99d44a6df8c36556bfe6a17f5d9b96a8dd5
Revision on https://github.com/odoo/odoo/commit/cd34f6de727d5b3858420cff3c9d3c5995c4e75c Before this commit, when receiving a new message from a new DM or livechat, the newly opened chat window was automatically focused and marking messages as read. Chat windows that are automatically opened without any user interaction, such as when receiving a new message from a chat, should not be focused. Those chat windows are "passive", and the user must click on them in order to have focus and mark messages as read (the chat window is no longer passive as a result). The bug has been introduced by the refactoring from the commit above. In fact, there was a very short period of time during which the chat window was passive. However, due to the way chat window server-side state synchronization works, the chat window was automatically closed then re-opened. This resulted in some visual flickering of the chat window ('open' > 'close' > 'open'), and the conversation was automatically marked as read. This was a consequence of the actions 'open' > 'close' > 'open' that removed the passive property of the chat window. Chat window server-side synchronization relies on a notification that tells the state of the conversation. Due to bad design, this notification had exactly the same format as the one for notifying all browser tabs of a newly joined conversation. This commit fixes the issue by distinguishing "channel join" and "chat window state" notification, so that the former is not treated as a chat window notification. It fixes the problem because it was precisely the "channel join" notification that caused the chat window to close and loose its passive property. Task-ID 1914735 opw-1914371 closes odoo/odoo#29223
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%