Thursday, November 30, 2023
9 changes · 17.0
Enhancements to existing features
Odoo now checks which member details can be set when a new Discuss channel is created. This helps prevent unexpected or unintended member information from being accepted, making channel creation more reliable.
Original PR description
The goal is to prevent users to set unexpected fields for Discuss channel members when creating a new channel.
Indian accounting journals will no longer have e-invoicing enabled automatically, reducing accidental submissions or setup confusion. The separate journal option for e-waybills is removed because users can submit e-waybills through the dedicated button instead.
Original PR description
Before This Commit: Currently, the e-invoice is bydefault set to true in journal. Also there is an option to enable e-waybill in journal. After This Commit: Now, the e-invoice will be bydefault set to false in journal. Also there is no need to have option of e-waybill in journal as we have separate button to submit the e-waybill. Task - 3617047 Enterprise - https://github.com/odoo/enterprise/pull/51737
This update reduces how long users may wait when creating a new website by shortening the online generation timeout to 20 seconds. It also adds monitoring logs for AI-powered service calls so teams can better track performance and identify slowdowns.
Original PR description
This PR - adds loggs to monitor the performance of the GPT calls during the apply of the configurator. - changes the timeout of the OLG call to 20s. Related to task-3248852
Attachments for expenses and resumes now get searchable index content, similar to invoices. This makes these documents easier to find and process, improving document management across more workflows.
Original PR description
Previously, the index content of the attachment was only set for invoices, but it can be useful for expenses and resumes as well.
The system now automatically uses xe.com as the default currency rate provider for companies operating in India. This improvement streamlines the setup process for Indian businesses by eliminating the need for manual configuration of currency exchange rate services.
Original PR description
In this PR ======================= Currency rate provider service is set as xe.com as default for the companies in India. task - 3614513
The GST reports module for India (l10n_in_reports_gstr) will now be automatically installed whenever the Indian reports module is installed. This streamlines the setup process for Indian businesses by ensuring GST reporting functionality is available without requiring manual installation steps.
Original PR description
Before This Commit: Currently, the l10n_in_reports_gstr is not auto-installed After This Commit: Now, the l10n_in_reports_gstr will be installed automatically installed if `l10n_in_reports` is installed. Task - 3617047 Community - https://github.com/odoo/odoo/pull/144128
This update improves the UPS shipping integration by adding support for commercial invoices on international shipments, which was missing from the previous REST API implementation. The changes also align the package handling with recent updates across delivery modules and fix a visual display issue in the UPS setup guide that occurred in version 16.0.
Original PR description
The REST API UPS integration done in #43538, was missing some changes that were added after version 15.0. Mainly: -Package and Commodity classes moving to `delivery` module. -Commercial invoice for international shipments. Also in 16.0 `group` in views behavior changed, which broke the setup guide in 16.0, this PR contains the fix Forward-Port-Of: odoo/enterprise#51274
The way IoT device links are stored has been reorganized for better efficiency. Instead of creating separate storage entries for each report-device connection, they are now organized in a single structured container. This change improves system performance by eliminating unnecessary data lookups.
Original PR description
Previously, each report-device link was stored as a unique entry in the local storage. Now, a structured object in the local storage contains these links. Therefore, the need to iterate through all local storage entries for display purposes has been eliminated.
The UPS delivery module's test data has been reorganized by extracting hardcoded XML content and embedded files from the Python code into separate files on disk. This improves code readability and prevents search tools from incorrectly matching test data strings, while maintaining the same test functionality through efficient file loading.
Original PR description
The UPS http server is mocked to always returns mocked XML content. That mocked content was hardcoded inside the python code, which resulted in multiple huge unreadable strings. Because of their…
The UPS http server is mocked to always returns mocked XML content. That mocked content was hardcoded inside the python code, which resulted in multiple huge unreadable strings. Because of their inclusion in python file, global regexp search inside the enterprise repository could match inside those string even if the search excluded non python file. This is the actual motivation of this work, to extract the XML hardcoded document inside XML files on disk so that global text search don't wrongly match those lines. Inside the second XML document entitled "shipment_request.xml" were three assets inlined as very long base64 strings. Those assets have been extracted, base64 decoded and stored on disk in dedicated files. This ease understanding both the content of the XML files and to make it possible to open the assets. The original document (with inlined base64 assets) is reconstructed at runtime. Using `functools.lru_cache` to lazily open and read the files upon first usage, this prevent loading the files in case the test is actually not run, this also loads the files only once for all test cases. Forward-Port-Of: odoo/enterprise#51480