Daily updates from Odoo
Wednesday, June 4, 2025
3 changes · master
Resolved issues and error corrections
After a user signs a document, closing the confirmation popup now sends them back to the correct signed-document page instead of the general portal page. This avoids confusion when viewing completed signature requests, especially in cases where internal request identifiers differ.
Original PR description
### Before this commit: When closing the popup after signing a document, it redirects to the `/my` page instead of `/my/signature/<id>`. It only happens when the request's id is out-of-sync with the request item's id. ### After this commit: Correctly use the `sign.request.item`'s id, as expected from the `/my/signature` route.
Opening a report in Studio that has no linked view now shows a controlled user-facing error instead of causing a system traceback. This prevents confusing crashes for users managing reports and improves reliability in the report editor.
Original PR description
Here, when we try to open a report that is not linked to view, a traceback appears. **Steps to reproduce:** - Install the `stock` and `web_studio` modules. - Navigate to `Settings > Technical >…
Here, when we try to open a report that is not linked to view, a traceback appears. **Steps to reproduce:** - Install the `stock` and `web_studio` modules. - Navigate to `Settings > Technical > Actions > Reports`. - Create a new report (e.g; **Model Name** = product.template, **Template Name** = product.report_test). - Open the report in the web editor. **Error:** `ValueError: External ID not found in the system: studio_customization.studio_report_docume_product_label` In this case, if no view is defined for the report, the system attempts to retrieve the related view from [1]. However, since the view does not exist, it raises a **ValueError**. [1] - https://github.com/odoo/odoo/blob/924aa8aa2abe7765d2d605dc7643d1102e056fd6/odoo/addons/base/models/ir_ui_view.py#L2151 This behavior is already handled in **version 16.0** by [2] with a controlled exception. This commit adopts the same approach by raising **UserError** when no view is defined for a report, preventing an unhandled exception. [2] - https://github.com/odoo/enterprise/blob/511781a6bfb52c88892a54e43133b90ddfddbe22/web_studio/controllers/report.py#L137-L143 Related Community PR: https://github.com/odoo/odoo/pull/208806 Sentry - 5715762959, 6303192517, 6577830303, 6577830303, 6577830303, 6303950186
This update fixes several small Shop Floor issues so manufacturing and work order cards show the right names, work centers, product details, and company-related information. It also removes an unused employee popup component, reducing clutter without changing current workflows.
Original PR description
This PR fixes small issues regarding changes done here: odoo/enterprise#83203 and removes dead code.