Saturday, October 26, 2024
3 changes
2 changes
Resolved issues and error corrections
Clicking into template-based text areas no longer automatically highlights the default text. This makes editing marketing, helpdesk, and website content feel more predictable and helps prevent accidental replacement of template text.
Original PR description
*: marketing_automation, website_helpdesk This commit removes the default behavior of automatically selecting text when clicking on an element that contains pre-defined text originating from templates. Previously, when interacting with such elements, the default template text would be highlighted upon click, which could lead to unintended user experiences, especially in scenarios where the user does not expect or desire the selection of content by default. By eliminating this automatic selection, we ensure a more intuitive and streamlined interaction, giving users greater control over their text editing process when working with elements populated from templates. task-4147162
When users duplicate a spreadsheet list or pivot, the new item name now clearly includes “(copy)”. This helps users distinguish originals from duplicates and reduces confusion when managing spreadsheet data.
Original PR description
## Description This commit appends "(copy)" to the name when a list or pivot is duplicated. Task: 4269121
1 change
Resolved issues and error corrections
Fixes an error that could occur when visitors sorted forum posts by activity. This keeps the forum browsing experience stable and prevents users from seeing a crash page during normal navigation.
Original PR description
Currently, a traceback is occurring when the user tries to sort a website forum posts. To reproduce this issue: 1) Install website_forum 2) Open `Forum` in the website and tries to sort based on activity Error:- ``` AttributeError: 'NoneType' object has no attribute 'groupby' ``` Here in the website_forum post, the query was passed as None, and because of the recent changes from the below-mentioned commit, a traceback occurs from the line[1]. https://github.com/odoo/odoo/blob/0bac60a7085c51ac8cb4f793b013dbea927d180c/addons/website_forum/controllers/website_forum.py#L126 Line[1]:- https://github.com/odoo/odoo/blob/0bac60a7085c51ac8cb4f793b013dbea927d180c/odoo/models.py#L5614-L5615 Commit:- https://github.com/odoo/odoo/pull/183925/commits/6b1df3fddedec486bc20010131ea8da566dade32 We can resolve this issue by passing an empty query instead of None. sentry-6008918989