11cc762d7ab9ecff2055bcaaee83bee6a685f657
Before this commit, when a form view was re-rendered (e.g. when switching to "edit" or "readonly" modes, when using the pager...), the chatter briefly disappeared and then reappeared, which produced a flickering. This has been introduced by the adaptation of the JS codebase to owl 2 [1]: when the form view had to be re-rendered, we reused the DOM element containing the chatter in the new rendering (done in memory), which was thus detached from the DOM. That element was re-inserted into the DOM later on, alongside the rest of the newly rendered elements. This commit fixes the issue by using a specific "hook" element when rendering the form view, and replacing that hook by the actual (unchanged) chatter container element when the rendering is done and the DOM is patched. This commit also removes unnecessary overrides in project: - _renderNode was dead code, classname "oe_project_sharing_chatter" no longer exists in the codebase since [2] - _makeChatterContainerTarget replicated what was originally already done in the mail FormRenderer (for appearently no valid reason), so obviously, that override wasn't synchronized with this fix. [1]edd79ff560[2]a28cc6333acloses odoo/odoo#84429 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
…
…
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%