Monday, March 13, 2023
23 changes · master
Enhancements to existing features
The mail chat window now uses a dedicated autocomplete input experience for suggestions. This makes selecting suggested recipients or entries in chat more consistent and easier to maintain, improving the reliability of chat interactions for users.
Original PR description
Just with chat window. Task-2817076
The mail app now has a clearer way to request and handle browser notification permissions. This helps users receive message alerts more reliably while keeping the permission flow consistent.
Original PR description
…ermission Task-2579306
The mail app now has a dedicated follower list menu that makes follower actions, including adding followers, easier to manage from the chatter area. This improves consistency and usability for users collaborating on records.
Original PR description
Task-2579306
Users can now rotate attachments directly in the mail attachment viewer. This makes it easier to review documents or images that were uploaded with the wrong orientation, reducing friction during everyday collaboration.
Original PR description
Task-2579306
The mail app’s attachment viewer now supports moving back to the previous attachment, making it easier for users to browse shared files. This improves day-to-day document review in conversations by reducing friction when switching between attachments.
Original PR description
Task-2579306
The mail app now includes a refreshed attachment viewer foundation, making it easier to preview and navigate files shared in conversations. This improves the user experience around message attachments and prepares the feature for further enhancements.
Original PR description
Task-2579306
Users can now print attachments directly from the mail attachment viewer, making it easier to handle documents without downloading or opening them elsewhere. This streamlines document review and sharing workflows in Odoo messaging.
Original PR description
Task-2579306
The mail attachment viewer now handles image loading more explicitly, helping images display more reliably when users preview attachments. This improves the viewing experience in discussions and messages without changing users' workflows.
Original PR description
Task-2579306
The mail attachment viewer now includes dedicated handling for clicking video attachments. This makes viewing shared videos in messages smoother and more intuitive for users.
Original PR description
Task-2579306
The mail app now has a dedicated way to handle image clicks in the attachment viewer. This makes viewing attached images smoother and more consistent for users working with messages and documents.
Original PR description
Task-2579306
The mail attachment viewer now supports moving to the next attachment more directly. This makes reviewing multiple files in a message smoother and reduces friction for users handling shared documents.
Original PR description
Task-2579306
The mail app now has a clearer way to handle download clicks from the attachment viewer. This helps keep attachment viewing and downloading behavior more consistent for users.
Original PR description
Task-2579306
Users can now rotate attachments directly in the mail attachment viewer. This makes it easier to review images or documents that were uploaded in the wrong orientation without leaving the preview.
Original PR description
Task-2579306
The mail app’s attachment viewer now has improved click handling and closing behavior, making it easier for users to view and dismiss attachments. This helps create a smoother experience when working with files shared in messages.
Original PR description
Task-2579306
Users can now print attachments directly from the mail attachment viewer. This makes reviewing and sharing documents faster by avoiding extra download or preview steps before printing.
Original PR description
Task-2579306
This update introduces a reusable autocomplete input view in the Mail app and connects it to chat windows. It should make future autocomplete behavior easier to maintain while keeping messaging interactions consistent for users.
Original PR description
Task-2817076
The mail app now uses a shared autocomplete input for places where users add people or start messages. This helps make recipient selection more consistent across chat windows and mobile discussion screens, reducing confusion and supporting a smoother messaging experience.
Original PR description
Task-2817076
The messaging area now has a more consistent autocomplete experience when adding or finding items in the Discuss sidebar. This helps users navigate conversations more smoothly and supports cleaner behavior in chat-related workflows.
Original PR description
Task-2817076
Recurring task behavior was streamlined across field service, projects, and subscription-linked sales. This makes the related workflows easier to maintain and prepares the enterprise modules to align with matching community changes.
Original PR description
*=industry_fsm,project_enterprise,project_sale_subscription All changes here are made to allow community related commit. Related: https://github.com/odoo/odoo/pull/112764 task-3084945
Amazon-related quotations and sales orders now use a unified list view, making it easier for users to review and manage sales documents in one consistent place. This improves day-to-day navigation and reduces confusion between similar screens.
Original PR description
task-3213457
Resolved issues and error corrections
The picking "To do" filter now shows only pickings that still require action, instead of including completed or cancelled records. This helps users focus on relevant warehouse work and reduces confusion in stock and batch picking views.
Original PR description
Description of the issue/feature this PR addresses: The 'To do' picking filter made no sense as it used to check the pickings that are not assigned or assigned to the user. The new behavior corrects it by checking if the previously selected pickings are not in a 'done' or 'cancel' state. Current behavior before PR: picking filter wrong, returns done or cancelled pickings Desired behavior after PR is merged: picking filter does not return done or cancelled pickings --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Portal user deletion now runs in a dedicated scheduled process that handles large databases more reliably and avoids repeated work after timeouts. The change also removes related nonessential records automatically where appropriate, while preserving linked business contacts when they cannot safely be deleted.
Original PR description
Purpose ======= Improve the portal user deletion by preventing timeouts and avoiding several rollbacks causes. Specifications ============== - Move the portal users deletions from autovacuum to its own cron. On big databases such as odoo.com, deleting a res.users takes more than 1 minute. Move the whole process into its own scheduled tasks. - Commit the deletion at each user. As said previously the deletion can be expensive, so commit what has been done to avoid having to delete the same user again in case of rollbacks or timeout. - Delete the user and the partner separately. If the partner is used in a sales order for instance, the unlink is possible for the user and not the parner. It allows to unlink the user and keep the partner in case it cannot be deleted. - Re-call the cron into another transaction in case there are too many users to delete, instead of waiting next call, that is supposed to occur the day after. TaskID: 3222941
This fix prevents users working from the backend website editor from being unexpectedly redirected to the public frontend when clicking items like blog tags, course tags, pagers, or shop snippets. It keeps navigation in the current editing context while preserving the needed exception for creating a page from a backend 404 page.
Original PR description
Since [the merge of the frontend into the backend] and more precisely since [this commit], clicks on some elements makes the user switch from the backend view to the frontend view. Steps to reproduce…
Since [the merge of the frontend into the backend] and more precisely since [this commit], clicks on some elements makes the user switch from the backend view to the frontend view. Steps to reproduce (just an example): - Go to /blog from the backend (/@/blog) - Click on a tag (eg: adventure) => users are redirected to the frontend view, we do not want that. This commit makes the user stay in the backend. For some scenarios (like the one above), we create a fake form and submit it. The forms have a target attribute that specifies where the form response should be displayed. This commit set back the default value for the target attribute when a user clicks on a blog tag, a course tag, the pager, ... so that the response is displayed in the current context (the iframe when the user is in the backend). Note that [this commit] introduced the target attribute change to fix two issues: 1. The opening of the payment gateways in the iframe. 2. The create page from a 404 page in the backend. After [this other commit] has been merged, to prevent the first issue so here we just remove the target attribute change except for the case of the second issue. [the merge of the frontend into the backend]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b [this commit]: https://github.com/odoo/odoo/commit/2d44f2792dec0b2f205475a22dbedc97e9c54a64 [this other commit]: https://github.com/odoo/odoo/commit/3a32b9e1efa6277b345dc9239334680651690df7 task-3054970