3dc3b6cc3c2020f8eb4ff9ccf4f397748bad267c
Before this commit, if the mutation records would contain records that would cancel each others, those change would be listened and considered. For instance: - Mutation 1: Adding ID on element A - Mutation 2: Removing ID on element A When processing the mutation records, it is useless to consider those 2 as the Id of the element A is the same before and after the mutation. This led to multiple issues, especially in case where some elements have the same branding (and are thus the same field/xpath). In such cases, the editor is replicating the changes made on one of them to the others to keep the "same" fields sync'd. For instance, if you go on an event page and try to modify a date, the change will be replicated at multiple place in the page which are actually the same t-field. When replicating those changes, somehow the jQuery Sizzle ID changes were listened, leading to infinite loop of mutation observer. Step to reproduce: - Install website - Go to any page and enter edit mode - Click on the navbar and in the right panel select Vertical header - Activate the CTA option in that navbar right panel (should already be) - Click on the CTA button - Try to edit the URL in the right panel or any link option (style etc) The changes will be ignored as the button's section is being re-rendered every 50ms infinitely. On chrome you can easily see it by watching the DOM in the dev tool. The section will blink again and again, hinting about DOM change. opw-2893480 closes odoo/odoo#98331 X-original-commit: 97c712e81692661fc9bc65e0810abc4dc017ed87 Signed-off-by: David Monjoie (dmo) <dmo@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%