Tuesday, February 15, 2022
4 changes · master
Enhancements to existing features
This update reorganizes JavaScript quality checks so future rules are easier to add and maintain. It also enables new checks that reduce duplicate code and risky expressions across several web-related areas, helping make future changes safer and more reliable.
Original PR description
The commits contained in this PR make it easier to add new eslint rules by breaking the eslint config into an eslintrc file, and enables some rules. Some work was done to allow some of these rules to be enabled, and offending code was adapted.
This update improves how on-screen popovers are positioned and styled in Odoo. It helps make contextual panels more reliable and consistent across the interface, with a small internal impact for users.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The app launcher search now waits briefly before processing typed input, which helps avoid unnecessary work while users are still typing. This should make the command palette feel smoother and reduce small performance hiccups in the home menu.
This update removes repeated code imports across several Odoo Enterprise apps. It reduces internal duplication, making future maintenance and refactoring easier without changing how users work with the system.
Original PR description
*: documents_spreadsheet_bundle, mail_enterprise, planning, project_enterprise, sign, web_cohort, web_enterprise, web_studio Previously, some modules were imported twice, this increases duplication and can make refactoring more difficult. A commit in community enables the no-duplicate-imports eslint rule, this commit fixes offending modules to remove duplicates.