Thursday, December 14, 2023
12 changes · master
Enhancements to existing features
Unhelpful tooltip text was removed from access rights settings in Project, Timesheets, and related base configuration. This makes the permissions screens cleaner and reduces clutter without changing how access rights work.
Original PR description
This commit removes the tooltips in the uses access rights for the project, hr_timesheet and helpdesk modules as they don't give valuable informations. taskid:3277206
This update makes Odoo load interface templates more efficiently by delaying some processing until a template is actually needed. Users should experience faster initial loading, especially in areas with many interface elements, without a change in functionality.
Original PR description
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
Users can now see who reacted to a message by hovering over the reaction icon, rather than opening a separate message action menu. This makes reactions easier to review and helps conversations feel faster and more transparent.
Original PR description
**Before this commit:** To view the users who reacted to a message, users had to access the "view reaction" menu through the message actions. **After this commit:** With this update, users can easily see who reacted to a message by simply hovering over the reaction icon and clicking on the "x others" link that appears. **task-3390326**
Odoo calls now show a banner explaining that push-to-talk only works while the Odoo browser tab is focused. The banner helps users understand this limitation and points them toward the browser extension for a more reliable experience.
Original PR description
The push-to-talk feature only works within tab focus. This can be surprising for users that expect this feature to work even when odoo is not focused. This commit adds a banner to warn the user about this limitation and suggest to download the ptt extension. task-2664868
The mail testing tools now include an option to hide simulated browser tabs and show the test results clearly. This helps developers debug automated tests faster without extra manual browser steps, improving maintenance efficiency.
Original PR description
An helper that allows Qunit to simulate tests on multiple browser tabs already exists. While the debug mode of Qunit is enabled, the helper render tabs over the default layout and display a dropdown to select which tab should be displayed. It makes it harder to debug a specific test because it is currently not possible to browse test results without manual interaction with the browser developer tools. This developement adds a new item in the dropdown created by the helper. The new item named "Qunit" is created by default and its purpose is to hide all tabs so that test results are readable.
Website forms can now include property fields, making it easier to collect more flexible business-specific information from visitors. This improvement applies to forms used across website CRM, project, and recruitment flows, helping teams capture the right details without custom workarounds.
Original PR description
*: website_crm, website_form_project This commits makes it possible to use property fields inside the form snippet. See also https://github.com/odoo/enterprise/pull/51494 task-3278975
Embedded live chat now retrieves only the guest's latest active conversation instead of all previous chat channels. This reduces unnecessary data loading and keeps the live chat experience focused on the single conversation customers can use at a time.
Original PR description
*: mail. The embed live chat uses the `init_messaging` route in order to retrieve the data linked to the live chat channel. Before this PR, every channel of the guest was returned by this route even if the embed live chat only needs to get the data related to the latest one: every other channel is irrelevant as only one conversation at a time is allowed in this context. This PR adapts the code in order to only return what is needed i.e. the current live chat channel. part of task-3488100
This change improves how Odoo handles broad text search filters that effectively match everything. By simplifying these filters before querying the database, it avoids unnecessary heavy scans and can improve performance without changing expected search results.
Original PR description
Given the following domain
`[('my_field', 'ilike', False)]`
expression.py will produce the following
`SQL ("my_model"."my_field"::text ilike '%%') OR
("my_model"."my_field" IS NULL)`
which will trigger an unneeded full seq scan because the SQL expression is always TRUE
this task remedies this issue by replacing `ilike '%%'` by `TRUE` whenever possible
task-3131123
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prLive chat will now remember whether a chat window was folded using server-side state instead of relying only on the browser. This makes the experience more consistent after page reloads and reduces maintenance complexity by aligning live chat behavior with Odoo's Discuss system.
Original PR description
Currently, the live chat state is saved locally and restored when the page reloads. Doing so has several drawbacks: - hard to maintain - can be outdated when updating formatters on the server side - highly specific to live chat code while it should be integrated as part of the discuss code to ease maintenance Since live chat uses discuss guests, most of the data can be retrieved from the `init_messaging` call. This PR is a first step towards relying entirely on the server state. In order to do so, the code is adapted to save the chat window fold state on the server. part of task-3488100 enterprise: https://github.com/odoo/enterprise/pull/52794
The Argentine localization connection test now checks all available AFIP web services instead of only a limited set. This gives users a more complete view of service availability when configuring electronic invoicing, helping identify connectivity issues earlier.
Original PR description
Task Adhoc: 31784 Task latam: 1131 Description of the issue/feature this PR addresses: It is necessary to make the connection test of all the webservices available in AFIP. In runbot Odoo 17.0 with module l10n_ar_edi installed and taking position in company "(AR) Responsable Inscripto" go to "Accounting / Configuration / Settings" and in section "Argentinean Localization" click on "Test Connections" (in "AFIP Web Services"). Then a pop up will show the status of the connection of the webservices wsfe, wsfex, wsbfe, wscdc but is needed to show the status of the connection of all webservices available. Current behavior before PR: It is shown the status of the connection of the webservices wsfe, wsfex, wsbfe, wscdc. Desired behavior after PR is merged: Show the status of the connection of all webservices available.
This update keeps the enterprise live chat behavior aligned with related platform changes, so chat windows can continue remembering whether they were folded or expanded. The change is small and mostly internal, reducing the risk of disruption while preserving the expected user experience.
Original PR description
In the community counterpart of this PR, the `channel_fold` method of the `discuss.channel` model was changed to a protected method. This PR adapts the call sites of this method to its new name. part of task-3488100 community: https://github.com/odoo/odoo/pull/145905
Website forms for creating helpdesk tickets can now include the custom property fields configured for the selected helpdesk team. This helps businesses collect team-specific information from customers upfront, improving ticket routing and handling.
Original PR description
This commit makes the property fields defined on an helpdesk ticket's team available when building a website form to create tickets for that team. See: https://github.com/odoo/odoo/pull/119834 task-3278975