Thursday, October 30, 2025
2 changes · master
Code cleanup and technical improvements
This update cleans up automated test files by removing unnecessary grouping labels that duplicated file names or could be misleading. It does not change product behavior, but makes the test suite easier for developers to read and maintain.
Original PR description
This commit removes test files using a single 'describe' call to wrap its tests, with a name being either redundant with the test file itself or is too misleading.
Regular expression used to find isolated suites:
```js
/^\s*import.*(?:\n(?!describe\()(?!test\().*)+\ndescribe\("[\w\s.]+",.*(?:\n(?!describe\().*)+\n\}\);\n(?!\n)/
```
Tip for reviewers: tick **"Hide whitespace"** when reviewing diff
<img width="237" height="205" alt="image" src="https://github.com/user-attachments/assets/373f7cc6-5e0e-4599-968a-39aad8fac2f0" />
Community: https://github.com/odoo/odoo/pull/233006
Forward-Port-Of: odoo/enterprise#98254
Forward-Port-Of: odoo/enterprise#98046Unused Python code was removed from Point of Sale and related localization and integration modules. This cleanup reduces maintenance overhead without changing expected business behavior.
Original PR description
Remove useless python dead code in point_of_sale and submodules. task-id: 5006039 community PR: https://github.com/odoo/odoo/pull/224984