Monday, September 23, 2024
15 changes · master
Enhancements to existing features
Portal message posting can now include additional information, such as security details, ratings, or project sharing context. This makes it easier to support richer portal interactions without custom workarounds.
Original PR description
In the portal it's needed to send extra data (such as security params, rating value, project sharing id) in posting a message. This PR introduces a getter for preparing the data. There will be a new parameter as `extraDta` where it's possible to put other needed data in. Part of task-2828744
This update makes a small improvement to the web file viewer, which is used when opening or previewing documents in Odoo. It should help provide a smoother experience for users working with files, with limited business impact.
This change makes the calendar privacy filtering logic easier for other Odoo modules to adapt. It does not change day-to-day calendar behavior directly, but it improves flexibility for future customizations and module integrations.
Original PR description
Move the read_group privacy domain to a new method so that it can be overrided in other modules. Task-4191434 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now reuses existing user access information when checking permissions in several interface areas. This can reduce repeated checks and make common actions feel more responsive without changing what users are allowed to do.
Original PR description
We make user.checkAccessRight accept an extra (optional) parameter ids and use it in several places.
The bus service now lets each browser tab check the current shared WebSocket connection status when it opens. This helps Odoo pages better understand whether real-time communication is connected or disconnected without waiting for a new event.
Original PR description
The bus service uses a SharedWorker to maintain the WebSocket connection across tabs. One can subscribe to the lifecycle events of the bus service (such as connect/disconnect) to monitor the state of the worker connection. However, when a new tab opens, it has no way to determine the current connection state. This PR exposes the `workerState` property from the bus service, allowing tabs to easily check the state of the worker connection.
Odoo now provides a clearer message when archive or unarchive actions are used on records that cannot support them. This helps administrators and support teams identify configuration or usage issues faster without confusing technical errors.
Original PR description
Make a better error message when calling `action_archive()` or `action_unarchive()` on records that don't have an 'active' field.
This update adds warnings when older Kanban view code is used, helping teams avoid building on functionality that is scheduled to be removed after Odoo 18.0. It reduces future migration risk by encouraging newer supported approaches in the web interface.
Original PR description
This will ensure that we do not introduce legacy kanban anymore, as they are deprecated and their support will be dropped after 18.0. Task~3992107 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 mass mailing template no longer shows an unnecessary tooltip on a button whose purpose is already clear. This reduces visual clutter and makes the editing experience feel simpler for users.
Original PR description
This PR ensures that the tooltip is no longer displayed in mass_mailing template since the button's functionality is already clear. Task-4196854
The sample content shown in the Discuss demo has been shortened and made easier to read. It also corrects how single quotes appear, improving the polish of demo conversations without changing product behavior.
Original PR description
The demo data for the Discuss sub-thread has been rephrased to be less wordy. And also fix the problem that the single quote is not correctly used. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail sidebar toggle labels have been simplified from longer phrases to “Expand” and “Collapse.” This makes the control easier to understand for users and improves overall clarity in the discussion interface.
Original PR description
Rename the sidebar toggle text from 'Make panel bigger' to 'Expand' and 'Make panel smaller' to 'Collapse' for better clarity. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Mentions in Odoo Mail are now easier to read in both light and dark themes. This improves message clarity and accessibility by increasing contrast between mention text and its background.
Original PR description
Mentions were hard to read because background is too dark compared to text, resulting to bad contrast. _Note: "Marc Demo" mention in chat window is mouse-hovered in screens below_ Before / After (white theme)  <img width="1275" alt="after-white" src="https://github.com/user-attachments/assets/e982c1c1-cfbb-45d2-93b4-74e28eaa414e"> Before / After (dark theme)  <img width="1255" alt="Screenshot 2024-09-23 at 15 34 16" src="https://github.com/user-attachments/assets/d293f5b0-3259-4dd8-8cf6-20242806f98b">
Automated walkthroughs were adjusted to match the updated message composer, where sending can now appear as a dropdown to support scheduled messages. This keeps business process tests for field service reports and Belgian payroll contracts aligned with the latest interface behavior.
Original PR description
\* = industry_fsm_report, test_l10n_be_hr_payroll_account Purpose: -------- In the community counterpart, the "send" button of the mail composer is replaced by a dropdown button when the composer is in mono-comment mode, to add an option that allows users to schedule the posting of messages. This commit adapts selectors in tours accordingly. Task-3877073
The Helpdesk team form now shows a placeholder in the company field to clarify what information users should enter. This small usability improvement helps reduce uncertainty when setting up or editing support teams.
Original PR description
This PR adds a placeholder in the company field on helpdesk teams to help users understand what kind of information is expected there. Task-3903387
Odoo Studio now warns when a deprecated Kanban configuration approach is used. This helps teams avoid adding setups that will no longer be supported after version 18.0, reducing future upgrade risk.
Original PR description
This will ensure that we do not introduce legacy kanban anymore, as they are deprecated and their support will be dropped after 18.0. Task~3992107
Access permission checks now use an existing user cache instead of repeated server lookups. This should make related actions in Documents and Knowledge slightly faster and more efficient without changing what users are allowed to do.
Original PR description
We replace some orm calls to has_access by calls to user.checkAccessRight in order to benefit from the cache available in user.