Wednesday, June 25, 2025
2 changes · saas-18.1
Resolved issues and error corrections
The code counting command now works correctly when users provide a folder path without selecting a database. This prevents an error and allows teams to measure code in a specific location as intended.
Original PR description
`odoo-bin cloc -p /mypath` should work on the given path, but results in an error when trying to split the database because `',' in opt.database` fails as it is `None`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes an internal Point of Sale test that could fail unpredictably because items were checked in an inconsistent order. It helps keep automated quality checks stable, reducing false alarms during development.
Original PR description
This PR https://github.com/odoo/odoo/pull/214829 caused a Runbot error. The test introduced in the PR is failing because it compared a list converted from a set to a hardcoded list, leading to inconsistent order. Using a sorted list when converting the set fixes the issue.