Monday, July 7, 2025
5 changes · saas-18.2
Resolved issues and error corrections
This fixes how Malaysian MyInvois point-of-sale documents connect back to their related orders. It prevents missing links on some records, improving reliability and avoiding test failures without changing the user workflow.
Original PR description
Otherwise, it causes it fails to assign value to certain records, which is unadvised and causes a test to fail. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where custom plan fields added to timesheets could lose their selected value when a new timesheet was saved. This helps businesses using Studio customizations keep accurate timesheet categorization and reporting data.
Original PR description
### Steps to reproduce: - Navigate to a Project > View (Timesheets) - Open studio and add x_plan2_id for example to the view - Try creating a new timesheet and set a value for the field we added using studio - Save and notice the field doesn't keep its value ### Cause: This is mainly happening because when getting the plan_ids for the account we are gonna fill we just get the account in the distribution and ignore if the user is setting another value ### Fix: We check the create vals_list if a plan has value we set it before setting the account in the distribution opw-4716041 Forward-Port-Of: odoo/odoo#214865
This fix makes automated checks for Brazilian electronic invoicing in Point of Sale more reliable by waiting for the product search loading indicator to finish instead of relying on a notification that may not appear consistently. It helps reduce false build failures and improves confidence in release testing without changing user-facing behavior.
Original PR description
The tours regularly fail in single app builds because the "No other products found" notification is not found. Waiting on that notification is necessary because the product search happens asynchronously. I was not able to reproduce the test failure locally. But in an attempt to improve the situation this changes the approach to use the little "loading" spinner to wait on the search to finish by using Chrome.isSynced(). This method is used elsewhere in POS tests and should hopefully be less flaky. builx_error-224202 Forward-Port-Of: odoo/enterprise#88300
Users with view-only access to shared PDF documents will no longer see the split PDF option. This prevents them from attempting an action they are not allowed to perform and avoids a confusing error message.
Original PR description
When a user with only view permissions attempts to split a PDF, an error occurs: Unexpected token '<', "<!doctype "... is not valid JSON **Steps to Reproduce:** - Go to Documents. - Choose a PDF file. - Click on Share and select Internal Users with Viewer permission. - Copy the generated link. - Open the link in another window as a non-manager user. - Click on split PDF then split The fix consists in hiding the pdf split functionality for users without edit permission. opw-4354451 Forward-Port-Of: odoo/enterprise#75803
Users can now open Studio from the Documents list even when a document shortcut is selected. This prevents an error that interrupted customization work in the Documents app.
Original PR description
Steps: - Install `documents` and `studio` - Open documents, go to list view - Select a random file and 'Create a shortcut' via the actions - Try to open studio - traceback opw-4900667 Forward-Port-Of: odoo/enterprise#89508