468096cb6bcfd5a2462f6ae318ed0200c8d30593
Steps to reproduce the bug (in 16.0 and above only): - Go in the backend - Focus the searchbar - Type something and use the arrow to navigate the search dropdown => You cannot see what you are highlighting anymore This occurs since [1] (its forward-ported version) which removed rules that were targeting the frontend dropdowns by mistake while they were indicated as wanting to target OWL dropdowns only. It appears that those rules were actually used by chance in 16.0: to style the searchbar which is not using OWL dropdowns and whose specific 15.0 styles were removed, fallbacking on those erroneous rules. On top of that, the wanted style here concerns a rule about the `focus` class... which is actually not part of Bootstrap 5 anymore but that our old searchbar still uses. There is a high chance that the problem is only confined to the 16.0 searchbar and not anything else. But as a precaution this commit fixes the issue by restoring all the rules that were removed (well, rather moved to be more specific to OWL dropdowns) but inside a backend file only. The legacy/dropdown.scss file seemed very suitable for this purpose. Obviously, those rules should be removed as soon as possible once it will be judged ok in master after a searchbar adaptation. [1]: https://github.com/odoo/odoo/commit/e24bff699190bc511b357c200f4494a177be5b77 closes odoo/odoo#113944 X-original-commit: 77537678d6b6f3533eb0c9d9d37d8fe679ef9580 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%