Sunday, July 6, 2025
2 changes · saas-18.3
Resolved issues and error corrections
Confirmed purchase orders now allow users to edit product descriptions by hiding the product column when needed. This fixes a usability issue that prevented buyers from updating line descriptions after order confirmation.
Original PR description
<b>Steps to Reproduce:</b> - Navigate to Purchase → Create a new Purchase Order. - Add a Vendor → Add a Product with description or enter one using the ☰ widget. - Save and Confirm the order, Try to…
<b>Steps to Reproduce:</b>
- Navigate to Purchase → Create a new Purchase Order.
- Add a Vendor → Add a Product with description or enter one using the ☰ widget.
- Save and Confirm the order, Try to edit the description.
<b>Issue:</b>
- The product description becomes non-editable after confirming the PO.
- Previously, the description was separated in view.
<b>Cause:</b>
- Since `product_id` is readonly, the `name` (description) field also does not allow to edit.
- e.g. In SO, the description is editable if the product_id is hidden and only name (description) field is visible.
<b>Since the product_id field is read-only in the states ('purchase', 'to approve', 'done', 'cancel'), the description field
also becomes read-only, as they are combined. By hiding the product_id, we can edit the description, as it is not.</b>
<b>Solution:</b>
- Added `optional="show"` to `product_id` in the XML view to allow toggling discription editability.
- When `product_id` is hidden, the `name` field becomes editable.
<b>Steps to Verify:</b>
- Open same confirmed PO and hide the `product_id` column.
- Make sure `name` (description) field is visible and now it is editable.
<b>opw-4892063</b>
Forward-Port-Of: odoo/odoo#215997Miscellaneous changes
Before this commit, there could be a traceback when downloading call logs that contains `serverInfo`, that was because it is a proxy and cannot be cloned (to be passed to the service worker). This commit fixes it by using the raw value instead of the proxy when logging. Forward-Port-Of: odoo/odoo#216215
Original PR description
Before this commit, there could be a traceback when downloading call logs that contains `serverInfo`, that was because it is a proxy and cannot be cloned (to be passed to the service worker). This commit fixes it by using the raw value instead of the proxy when logging. Forward-Port-Of: odoo/odoo#216215