c462d28e5b863a28816a991c745c067e09aea5c9
Steps to reproduce: - Go to Website > Add menu items in a way that activates “auto-hide” (to set the overflowing menu items in a “+” dropdown) if the viewport was resized. - Go to “edit” mode (adding the sidebar reduces the current window width) > The “auto-hide” menu adaptation is disabled, and overflowing menu items are still visible. On [15.0 - 16.4]: The original commit fixed the behavior described above by preventing the unbreakable mechanism from detecting header changes and canceling the auto-hide updates (see: [X-original-commit]). In addition to the main fix, some other changes were also added to allow correct editing of extra menu items [1]: - The `_adapt()` debounce was replaced by a throttle that applies the first menu adaptation immediately. - We remember the state of the extra menu dropdown (open or not) if it is there, which will be restored after the menu adaptation. - When clicking inside an extra menu item, The extra menu is closed. We prevent this default behaviour in "edit" mode. Starting from 17.0: The code from [2] fixed the same editor's rollback issue by using a `withoutRollback()` to ensure that the `_adapt()` is called without triggering any rollback. This commit will only forward-port the adaptations from [1] since the rollback issue was fixed using the new `withoutRollback()` tool. [2]: https://github.com/odoo/odoo/commit/cbed990924887eb529056d89a042a92ba27b825b Related to opw-3484742 closes odoo/odoo#153566 X-original-commit: 4713f95f18d7326b553464c0be6fdcd68b330292 Signed-off-by: Quentin Smetz (qsm) <qsm@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%