aa1134ac052978a07d6dc19b2f24ef35db0cdf47
When inserting a new paragraph by pressing 'enter', it would automatically close the mega menu. As inserting a new paragraph triggers a historyRevert at the editor level, it was leading to two issues: - The widgets of the public root were stopped then restarted. The StandardAffixedHeader (the public widget for the header), as an Animation, would start its effects when started, which would close its dropdowns. This commit changes the _updateHeaderOnScroll method to close opened menus and dropdowns only when the animation has scrolled. - Opening the dropdown was a recorded step. When history was reverted, it would close it. Now toggling the mega menu is done with the editor observer unactive. task-2668908 closes odoo/odoo#81559 X-original-commit: 675430d53f6ef048b77afe95395bd760d3f5a2be 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%