Daily updates from Odoo
Wednesday, March 20, 2024
16 changes
1 change
Enhancements to existing features
This update adds automated checks for how client actions are opened through web addresses. It helps ensure users land on the correct screen when navigating via links, reducing the risk of future navigation issues.
Original PR description
This commit adds some tests for the path-based routing of client actions commit: https://github.com/odoo/enterprise/commit/ffee7f5191cca060530d3e785328058ed8801dc5
2 changes
Enhancements to existing features
This update enhances the way event registration emails are sent, moving them to a background process triggered by a scheduled cron job. This prevents performance bottlenecks when handling large numbers of registrations and ensures a smoother user experience. It also addresses previous issues with duplicate state updates and communication triggers.
Original PR description
This PR introduces a new configuration parameter 'event.event_mail_async' forcing registrations-based communication to be asynchronous. Instead of directly sending communication it triggers the cron to be run as soon as possible. When having large volume of registrations, and especially concurrent registrations it saves a DB to avoid generating tickets and preparing emails synchronously to the registration creation. Task-3764894: Event: Allow using cron triggers for communication Part of Task-3084943: Event: Improve communication scheduler scalability Forward-Port-Of: odoo/odoo#155777
This update automatically sends relevant IoT logs to the Odoo server via HTTP, eliminating the need for manual customer uploads. This improves support efficiency and provides Odoo teams with immediate access to critical IoT data. Administrators can control which logs are sent through the Handlers list page.
Original PR description
Before this commit: IoT logs are kept in an IoT log file. Any time the support would need IoT log information, we are forced to ask the customer to send it to us as it requires to be in the LAN.…
Before this commit: IoT logs are kept in an IoT log file. Any time the support would need IoT log information, we are forced to ask the customer to send it to us as it requires to be in the LAN. After this commit: Relevant* log lines will be automatically send out to the server using an HTTP route. This feature can be toggled within the Handlers list page  preview:  *: Relevant = - Any odoo logs (depending on the level set in the handlers list, see: https://github.com/odoo/odoo/pull/134174 ) - Any other logs (werkzeug, python libraries, etc.) except /hw_proxy/hello Note: IoT logs received by the server will ALWAYS be logged regardless of it level. So an Odoo server set in INFO which receive a DEBUG log from the IoT will log it in its log with the DEBUG level Related enterprise PR: https://github.com/odoo/enterprise/pull/55055 opw-3696519 Forward-Port-Of: odoo/odoo#156605 Forward-Port-Of: odoo/odoo#150920
7 changes
Enhancements to existing features
The Documents search filter was adjusted so users no longer see an archive toggle where it is not relevant. This keeps document filtering clearer while preserving the underlying domain selector behavior needed by the application.
Original PR description
In this commit, for the resModel documents.document, we don't want to have the toggle button included archives. We had to create a getShowArchivedCheckBox method in domain_selector.js to be able to patch it in enterprise/documents/static/src/web/documents_domain_selector.js so that this functionality still works. task~3599274 https://github.com/odoo/odoo/pull/143949
This update removes a redundant internal field used to identify WhatsApp conversation types. The system now determines that information from existing conversation details, reducing duplication and making future maintenance simpler without changing the user experience.
Original PR description
Type information can be deduced from other fields, in particular model and channel_type. Part of task-3265211 https://github.com/odoo/odoo/pull/158222
The subscription sales guided tour was updated to match recent functional changes in the app. This helps keep onboarding and automated walkthroughs aligned with the current user experience, reducing confusion during demonstrations or testing.
Original PR description
task-id: 3339727
The payment status page is now generated entirely by the server instead of combining server and browser-rendered sections. This makes the checkout and subscription payment experience more reliable by reducing context mismatches and simplifying how status updates are displayed.
Original PR description
Previously, /payment/status would render a template on the server-side, and a JS widget would render subtemplates on the client-side and insert them in the server-side rendered template.
However, mixing server-side and client-side templates causes issues because the context is not properly communicated between client and server. It also makes the code more complex.
This change assumes that no new information returned by /payment/status is worth re-rendering part of the template. If the transaction moves from a pending ('draft', 'pending') state to a final state, the customer should be redirected to the final route that will display the updated information on the transaction.
task-3340354
Community PR: https://github.com/odoo/odoo/pull/149821
Documentation PR: https://github.com/odoo/documentation/pull/8198
Upgrade PR: https://github.com/odoo/upgrade/pull/5829Subscription log handling has been cleaned up to make reporting more dependable across changes such as currency updates, cancellations, reopenings, closures, and renewals. This helps businesses get more consistent subscription history and metrics when customer contracts change over time.
The Helpdesk search results page has been updated to match the newer design used across other areas. Users now have clearer navigation back to the Helpdesk home page, including when no results are found, and page editing areas have been repositioned for easier use.
Original PR description
This commit adapts the design and the structure of the search results page that was not in line with the new design implemented in all the other modules. It also improves the search results page in a…
This commit adapts the design and the structure of the search results page that was not in line with the new design implemented in all the other modules. It also improves the search results page in a functional POV by: - Adding a way to go back to helpdesk home when there is no results - Adding a back button always visible to go back to helpdesk home - Moving the dropable zone to a more convenient area (on top of the page instead of in the middle of the content) - Adding `title` attributes where it was needed | State | Before | After | |--------|--------|--------| | Results | <img width="1710" alt="Screenshot 2024-01-31 at 16 19 28" src="https://github.com/odoo/enterprise/assets/110090660/13e2a88b-93ad-43da-a8a6-582195dcc869"> | <img width="1710" alt="Screenshot 2024-01-31 at 16 19 07" src="https://github.com/odoo/enterprise/assets/110090660/dd3cd2cf-e353-4179-806c-4a5338c780f9"> | | Empty | <img width="1725" alt="Screenshot 2024-01-31 at 16 19 57" src="https://github.com/odoo/enterprise/assets/110090660/f759d76d-f248-419c-bc0e-8fcafab2fe02"> | <img width="1712" alt="Screenshot 2024-01-31 at 16 19 45" src="https://github.com/odoo/enterprise/assets/110090660/dd86ed2d-3ba5-4210-9989-ba84b65c8fa6"> | task-3668073
The helpdesk training pages no longer use an extra styling class that was only needed to adjust badge spacing. This keeps the interface consistent with the updated standard badge design and reduces unnecessary customization.
Original PR description
This utility class was arbitrarily applied to fix badge's padding. Since we increase Badge's default padding in community counterpart PR, we don't need this class anymore and thus we can remove it. task-3749107 Com-PR: https://github.com/odoo/odoo/pull/154759
6 changes
Enhancements to existing features
The Brazil tax compliance settings page now includes a convenient link to the official documentation. This improvement helps users quickly access guidance on configuring the Brazilian tax features without having to search for documentation separately.
Original PR description
Link the brand new documentation in the settings. PR note: starting in saas-16.1 we can use `documentation=` instead.  Forward-Port-Of: odoo/enterprise#48340 Forward-Port-Of: odoo/enterprise#48040
This update refreshes the digest email design to match Odoo's new "Milk" visual style, replacing the previous purple color scheme with the updated design. All digest email images and styling across multiple modules have been updated to reflect this modern design refresh, improving the visual consistency and appearance of automated digest communications sent to users.
Original PR description
This PR contains a revamp of the digest email in the new "Milk" style replacing the old purple with the new one. This has been adapted in all digest data too. The images of the digest email's tips have been replaced by "milkified" versions of them, already available on odoo cdn by the way. Task-3338467 Forward-Port-Of: odoo/enterprise#58780 Forward-Port-Of: odoo/enterprise#42790
This update improves invoice clarity by displaying the accounting date on posted invoices and credit notes when it differs from the invoice date. In certain situations, these two dates can be different, and showing both ensures users have complete visibility into when transactions were recorded in the accounting system versus when they were issued.
Original PR description
In some edge cases the invoice date will differ from the accounting date. This commit makes sure that when this is the case the accounting date is shown on a posted invoice or credit note. This way it stays clear that the accounting date differs from the invoice date. task: 3774329 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The checkout process in the online store now provides a simpler way for developers to add custom steps without rewriting existing code. This improvement makes it easier for businesses to customize their checkout flow with additional steps like gift wrapping, loyalty programs, or custom verification steps.
Original PR description
`_get_checkout_steps` didn't provide a friendly way to add steps in the checkout flow. Developers had to reimplement part of the parent logic in their overrides. This commit introduces `get_checkout_step_list`. This method will allow an easier override of the checkout steps while keeping the logic to return a single step in the parent method.
The pivot table view has been improved to keep the horizontal scrollbar visible within the page viewport instead of appearing at the bottom of the page. Additionally, the scrollbar is now hidden when viewing sample data to prevent confusing navigation behavior. This makes the pivot table easier to use and more intuitive for users working with large datasets.
Original PR description
This commit simply removes the table-responsive class from the pivot view in desktop mode so that its eventual horizontal scrollbar will remain inside the viewport inside of being positioned at the very bottom of the page. Also hides the scrollbar in sample data mode so that the user cannot scroll horizontally in this case which introduces weird display.
The digest email template has been redesigned with the new "Milk" visual style, replacing the previous purple color scheme with the updated branding. All associated images and graphics throughout the digest system have been updated to match the new design aesthetic.
Original PR description
This PR contains a revamp of the digest email in the new "Milk" style replacing the old purple with the new one. This has been adapted in all digest data too. The images of the digest email's tips have been replaced by "milkified" versions of them, already available on odoo cdn by the way. Task-3338467 Forward-Port-Of: odoo/odoo#157896 Forward-Port-Of: odoo/odoo#125432