05857f8d5cdda247434e64a804fcda086d9413d5
This commit solves an issue detailed below, where an action would be scheduled while the page is meant to be reloaded, creating a deadlock. Commit [1] reviewed the hamburger option and introduced a hack so that if the no-hamburger option is selected while a template which requires a hamburger is also selected, the option for the default hamburger is automatically selected. This is done with a hack that clicks on a button when the ui of the option is updated. The issue is that the click creates a subsequent ui update, and since the value will only be updated once the page reloads, a second click occurs, which triggers a second save request. With [2] that save request locks the editor because the wysiwyg_adapter does not expect a second save_request, and starts a second blockUI which is never removed once the iframe is reloaded. This commit ensures that the auto-update click happens only once. Steps to reproduce: - Edit your website - Click on the navbar - Select the Mobile Menu option "Same as desktop" - Change the header template for one with a hamburger menu - Click on the navbar => the editor is locked forever. [1]: https://github.com/odoo/odoo/commit/6854ff8026999a2de20d163ff7118a59c33064c8 [2]: https://github.com/odoo/odoo/commit/03c552690b15cbf2e7d6b7812386ac64042219af X-original-commit: 15dc96bdf626940b3493e02998f9534d9f393a70 Part-of: odoo/odoo#101687
…
…
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%