78f85f2725ef3d9194ab17f6bf7b2d236b07821e
ENCOUNTERED ISSUE: Unable to close a dropdown with ESC when the focus has been given to a select element inside the dropdown. TO REPRODUCE: i.e. in the searchpanel, go to "FilterMenu > Add Custom Filter" and open the field select element. Press ESC once: the field select element closes just fine. Press ESC a 2nd time: we expect the dropdown to close but nothing occur. REASON EXPLANATION: Since 84715436d our Dropdown component uses the 'dropdown-menu' bootstrap class. But under some conditions bootstrap stops the keydown events propagation when the event.target matches the query selector '.dropdown-menu'. IMPLEMENTED FIX: This commit refines this selector directly inside the bootstrap library. This is admittedly a bad practice but: - this modification is trivial and sensible - the modified selector is only used locally in the bootstrap's 'dropdown.js' file - the added test should prevent the lost of this customization in the future task-2764821 Part-of: odoo/odoo#84969
…
…
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%