Tuesday, April 22, 2025
4 changes
Resolved issues and error corrections
Point of Sale users can now find customers even when they type phone numbers with spaces. This fixes a mismatch between how phone numbers are stored for search and how staff may naturally enter them, making checkout customer lookup more reliable.
Original PR description
Before this commit, it was not possible to find a partner when searching with a phone number that included spaces. This was because the phone number was stored in the search string without spaces, while the user input could included them. opw-4652338 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Scrap orders now consistently require a company before related stock operations can continue. This prevents incomplete scrap records from causing unexpected errors or inconsistent inventory behavior.
Original PR description
Issue Before This Commit: ------------------------------ The 'company' field was required but not validated in relevant triggers for scrap orders. This allowed operations to proceed even when the 'company' field was unset, leading to unexpected issues and inconsistent behavior. Steps to reproduce: ------------------------------ 1. Enable multi-step routes. 2. Create a new scrap order and add a product. 3. Remove the company from the company field. With This Commit: ------------------------------ - Added a check for 'company' in relevant triggers to ensure that operations only proceed if a company is set. - This fix guarantees that the 'company' field is always set (required), preventing errors and maintaining consistent behavior in scrap orders. task-4497387
This change prevents certain internal performance tests from failing when results vary unpredictably in automated test runs. It helps keep validation pipelines stable while avoiding false alarms that do not reflect product issues.
Original PR description
Some of the tests are not deterministic on the runbot. Avoid raising errors in these cases. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures the US payroll accounting module imports its missing views as intended. It helps prevent setup or display issues for users relying on US payroll accounting screens.
Original PR description
Coming From: https://github.com/odoo/enterprise/pull/69708