Tuesday, April 4, 2023
20 changes · master
Enhancements to existing features
This update reduces overhead in Odoo's internal caching logic, especially in areas used when preparing website and template assets. It should make some very frequent background operations faster without changing user-facing workflows.
Original PR description
`decorator` turns out to be quite heavy, if the decorated function is very fast (possibly since 5.0 and the switch to `Signature` as ~98% of the per-call overhead is spent in `inspect`). Might be worth bypassing it in some cases. Alternatively surgically switching some decorators to `decoratorx` (introduced in 5.1 as the pre-5.0 behaviour via exec) might be a simpler and less disruptive alternative, if we didn't suffer from major decorator-related issues before the Signature stuff.
The web upload service documentation now makes clear that it can accept either a browser file list or a standard list of files. This helps teams prepare and filter files before uploading, such as excluding files that are too large, without changing user-facing behavior.
Original PR description
As the upload service (js) only uses iteration, index based access and length on the files parameter, it is compatible as well with an array of File as files parameter (instead of a FileList). So, we have updated the files parameter docstring to accept as well array of File. With this change we can easily pass a modified list of files (ListFile being hard to create on some browser). Example of use-case, only send to the upload service the files smaller than a given threshold by transforming a FileList to an array and then by filtering it. Task-3179130 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Marc Demo no longer has administrator-level access in the Timesheets and Project demo data. This restores his previous, more limited permissions so teams can more accurately test access rights in Services-related workflows.
Original PR description
Since 16.0, the demo user Marc Demo has gained admin access to all the apps. To facilitate testing access rights, this commit restores his access rights as they were before for the Services apps. Enterprise: https://github.com/odoo/enterprise/pull/38055 Task-3229247
The mail app now has a dedicated way to manage incoming call invitation popups. This should make call request notifications easier to organize and maintain, supporting a smoother user experience during calls.
Original PR description
Task-3048395
This update reorganizes and simplifies parts of Odoo's messaging and activity interface across several apps. It helps make the underlying interface easier to maintain, which can support more consistent future improvements with limited immediate business disruption.
Original PR description
Task-3057085 Enterprise: https://github.com/odoo/enterprise/pull/33680
The CRM lost lead action now keeps its intended settings when opened from a list view. This ensures the modal window displays at the correct size, improving consistency for users without changing core CRM workflows.
Original PR description
Prior to this all of the context of the action called in the list action was overriden. We now combine the action context with the environment context. For now, it just insures that the modal window opens with the correct size. task-3235932 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail app’s suggested-recipient logic was reorganized to make it easier to maintain and extend. This is an internal improvement that should help future updates to the message composer while keeping the user experience unchanged.
Original PR description
Task-3004250
The emoji picker now disables the category bar while a user is searching, reducing confusion and keeping attention on the search results. This makes emoji selection in conversations a little clearer and smoother.
Original PR description
Task-2978040
This update reduces the number of shared web dependencies used by Odoo's Discuss and mail-related interface components. It should make the messaging experience easier to maintain and evolve, with limited direct impact on day-to-day users.
Original PR description
Task-2967711 Enterprise: https://github.com/odoo/enterprise/pull/30925
The live chat button now manages its own display setup, simplifying how the chat widget is initialized on public pages. This should make the live chat experience easier to maintain and reduce the risk of display issues without changing how visitors use it.
Original PR description
Task-2954564
This update improves how the website live chat chatbot test script detects and uses the live chat button. It helps ensure chat-related testing more accurately reflects the real customer experience, reducing the risk of issues reaching users.
Original PR description
Task-2878717
Notification popovers in Mail and Snailmail were updated to use a newer display component. This improves consistency and maintainability of message notification details without changing the core business workflow.
Original PR description
in MessageView/nonFailureNotification Task-2864563
The mobile messaging area now uses a dedicated tab component for its navigation bar. This should make the interface easier to maintain and support a more consistent mobile messaging experience for users.
Original PR description
Task-2833579
This update adds automated checks around message reaction behavior in Odoo's mail app. It helps reduce the risk of regressions so teams can rely on reactions working consistently in conversations.
Original PR description
task-id: 2730654 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
The mail and Discuss code has been updated internally to better support a future framework upgrade. This helps keep messaging features maintainable and ready for upcoming technical improvements without changing day-to-day user workflows.
Original PR description
In preparation to using Owl v2 in discuss code. Task-2694206
Message headers in the Mail app now use less empty space after the date. This creates a slightly cleaner, more compact conversation view without changing functionality.
Original PR description
Decreases the space after o_Message_headerDate Example: https://www.awesomescreenshot.com/image/24868111?key=9198ed452bfe4388ce6ba978a1aca993 Task-2793394
Message action buttons in the Mail app now appear within the message area instead of floating separately. This makes message controls easier to find and gives conversations a cleaner, more consistent layout.
Original PR description
Improves the MessageActionList design to move the action buttons in the same
space as the message.
This PR is an alternative to [that PR](https://github.com/odoo/odoo/pull/90167)
This PR does:
- Put the actionList Container in the same line as the header of an
un-squashed message
- Put a blank line on top of each squashed text message
to put the actionList Container in.
Task-2793394The messaging area now uses a dedicated emoji structure to manage emoji data more consistently. This helps support a smoother and more maintainable emoji experience in chat and message composition.
Original PR description
Task-2365687
The mail emoji picker now updates the search bar hint to show the shortcode for the emoji currently being hovered or soft-selected. This makes it easier for users to discover and search for the right emoji in conversations.
Original PR description
Change the search bar placeholder depends on which emoji is hovered. Task-3050008 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The demo user Marc Demo no longer has administrator rights in Helpdesk, Field Service, and Planning demo data. This makes access-rights testing more realistic and aligned with earlier behavior for Services apps.
Original PR description
Since 16.0, the demo user Marc Demo has gained admin access to all the apps. To facilitate testing access rights, this PR restores his access rights as they were before for the Services apps. Community: https://github.com/odoo/odoo/pull/115026 Task-3229247