918d0109f49e4b26b8465d142949c39ba7bfad32
When the current user connects to a collaborative peer, the content inside his editor will be reset. When opening a record, there is no way to know if such a connection will happen. In Knowledge, when one wants to insert an embedded view in an article body from elsewhere in Odoo, it is inserted programatically once the article is opened. At that time the peerToPeer connection is not established. Then, if a collaborative session is started with someone already editing the html_field, the content is reset, and at that point, the insertedd element is removed, so it should be inserted again. This commit introduces a hook that can be used to execute some specific action if the content of the editor is reset through `historyResetFromSteps` during the collaboration first synchronization. It can be provided as an option of the `wysiwyg`. 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%