Wednesday, December 31, 2025
3 changes · 17.0
Resolved issues and error corrections
This update resolves a bug where website options (like showing/hiding text elements) didn't correctly reset to the original template after being toggled on. The fix ensures that changes made through the website editor are properly restored, preventing unexpected content display. This improves the user experience and data consistency.
Original PR description
Fix an issue where toggling a website option that controls a view with reset enabled (e.g., "Show/hide text element" in Header) fails to restore the original template on the first toggle cycle. Steps…
Fix an issue where toggling a website option that controls a view with
reset enabled (e.g., "Show/hide text element" in Header) fails to
restore the original template on the first toggle cycle.
Steps to reproduce:
1. Edit the phonr number element in the Header.
2. Toggle OFF the "Show/hide text element" option.
3. Toggle ON the option.
Current Behavior: The text does not reset; the edited version reappears.
4. Toggle OFF and ON again.
Current Behavior: Only now does the text reset to the original version.
Reason:
When disabling an option, the backend resets the view as expected.
However, the frontend editor triggers an auto-save of the user's changes
shortly after. This save operation overwrites the recently reset view
with the old "dirty" content, leaving the view inactive but modified.
Consequently, re-enabling the option simply activates this modified
version instead of the clean template.
Fix:
Explicitly force a hard reset of the view architecture during the
'enable' phase if `reset_view_arch` is requested. This ensures the
content is always restored to its original state when the view becomes
visible, preventing any stale edited content from persisting.
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update removes a redundant design option from the planning module. Previously, a specific layout choice was required for a field, but this has been updated to a simpler selection method. This change improves the overall efficiency and clarity of the planning interface.
Original PR description
Previously, the template_id field was using the radio widget, which required the horizontal option. In a below commit, the radio widget was replaced with selection_badge, making the horizontal option unused. Commit-https://github.com/odoo/enterprise/pull/7970/commits/2b587a0f8951df5dc40d7536a79def926717f2ff
This update addresses a technical issue that could occasionally cause notifications to fail to send. The fix ensures that WebSocket connections are properly closed, preventing a race condition that led to operating system errors. This improves the reliability of notification delivery within Odoo.
Original PR description
Since [1], sockets used to wake up the websocket coroutines are properly closed upon termination. However, there can be a race where the dispatcher coroutine tries to write on the notif socket, leading to OS error. This commit fixes this error. [1]: https://github.com/odoo/odoo/pull/241330 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr