c3f44dbf59c84f32f8c7125a08bc73e09c0f98d2
How to reproduce (scenario): - Open 3 windows with 3 different sessions in Odoo user_1 -> in CRM, My Pipeline user_2 -> in Knowledge on article "target" user_3 -> in Knowledge on article "target" -> user_2 and user_3 are in a collaborative session -> user_1 "insert view in article" "target" (via Favorites) -> user_1 is redirected to knowledge to the target article -> RTC_DATA_CHANNEL_OPEN between user_1 and user_2 happens -> user_1 reset the html_field value from the history steps of user_2 -> the embedded view "My Pipeline" is inserted via `execCommand` and create a step in user_1 editor -> user_2 is notified via OE_HISTORY_STEP and receive the new nodes (view) -> RTC_DATA_CHANNEL_OPEN between user_1 and user_3 happens -> since user_3 was already synced with user_2, there is no `historyResetFromSteps` -> user_3 does not get the step from user_1 with the embedded view nodes now -> user_3 makes multiple steps (i.e. write some text in a paragraph) Current Behavior: -> user_2 and user_1 are notified of those steps and add them to their histories -> user_3 stil did not get the step with the embedded view nodes -> now if user_1 and user_2 make some steps, user_3 will be notified, but those steps "parents" are the steps from user_3, so user_3 may not request a full history comparison and may never get the missing step Fix: -> when a RTC_DATA_CHANNEL_OPEN event happens, the connected client is notified of the last registered step so it can call GET_MISSING_STEPS if it does not have it Note: This fix solves the specific case mentioned above, but other cases of desynchronization may happen, see Task-3208277 for a more complete fix. Task-2821374 Part-of: odoo/odoo#104680
…
…
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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%