Daily updates from Odoo
Monday, March 4, 2024
3 changes · master
Code cleanup and technical improvements
The Knowledge module’s article drag-and-drop test helper was updated to use modern browser and testing functions instead of older jQuery-based code. This is an internal cleanup that helps keep tests easier to maintain without changing the user-facing Knowledge experience.
Original PR description
In knowledge module, usages of jquery in dragAndDropArticle function are replaced by native or Hoot functions. task-3600484
This update reorganizes how Odoo stores and reuses language information so frequently used language details can be retrieved more efficiently. The change is internal, but it should reduce unnecessary work in areas like reports and payroll that rely on language settings.
Original PR description
[REF] base: refactor res.lang res.langs uses the ormcache a lot to cache language info These info are used frequently. This task groups up these info to avoid duplicated data and unnecessary cache miss when the ormcache is cold The PR is split to many small commits with small changes and explanations for reivew. https://github.com/odoo/odoo/pull/152496/
This update replaces older jQuery-based code in automated tours with native browser and Hoot query tools. It keeps the underlying business workflows unchanged while making the test code easier to maintain and better aligned with current development standards.
Original PR description
In this commit, jQuery usages are replaced by native usages. Some of jQUery querySelector are replaced by Hoot querySelector. task~3600484 https://github.com/odoo/odoo/pull/156225