Tuesday, May 21, 2024
5 changes · 17.0
Enhancements to existing features
This update adds a test case to the mail module to ensure the system properly handles situations where a link preview cannot be generated due to missing content type information in the response. This improves the reliability and robustness of the link preview feature by catching edge cases that could previously cause issues.
Original PR description
Forward-port of the test from https://github.com/odoo/odoo/commit/5d5752e87a09602d9cb05d5f7ded324499fdce63 Add a test in case we try to generate a link preview and we don't get a 'Content-Type' in the headers of the response. This potential issue was addressed by https://github.com/odoo/odoo/commit/bc202e0a0294e5a0c90118a8fa43ba54838e66b3, we now also add a test. Forward-Port-Of: odoo/odoo#162398
This improvement adds the ability to view Odoo's system logs directly from the IoT Box through a web browser by visiting the `/odoo-logs` URL, even when the main Odoo server is temporarily unavailable. This makes troubleshooting and system monitoring easier for Point of Sale operations by providing quick access to diagnostic information without needing direct server access.
Original PR description
[IMP] point_of_sale: display odoo's logs' folder from an url Allow to access odoo logs from the IoT Box even if Odoo's server is down via nginx by displaying /var/log/odoo How : from the IoT Box, go to the url `/odoo-logs` will display all the logs files from Odoo opw-3887623
The system now performs a more efficient check when validating active pricelists during configuration changes. Instead of searching for all matching pricelists, it now stops after finding just one, reducing unnecessary database queries and improving system performance.
Original PR description
In `_onchange_group_sale_pricelist`, we check that there is no active pricelist, otherwise we raise a warning. This commit limits the search to one occurence, as it is not necessary to search for all pricelists. Forward-Port-Of: odoo/odoo#165809
This update adds a database index to the SMS tracking system to speed up message lookups. By indexing the SMS UUID field, the system can find and retrieve SMS records much faster, especially when handling large volumes of messages. This improvement enhances overall application performance without changing any user-facing features.
Original PR description
-We might performing search a lot so adding index would be very nice 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
This update refreshes the demo data for Saudi Arabian company journals to align with the latest ZATCA sandbox requirements. The PCSID and CCSID identifiers on journals have been updated to reflect current VAT code standards, ensuring demo data remains accurate and compliant with Saudi Arabia's electronic invoicing regulations.
Original PR description
Following the update to the VAT code required to be used with ZATCA sandbox on SA companies, we need to update the demo PCSID and CCSID on the journals as well. Description of the issue/feature this PR addresses: Base demo data for SA company does includes outdated data for the Journals Current behavior before PR: Base demo data for SA companies includes outdated data for the Journals Desired behavior after PR is merged: Base demo data for SA companies includes updated CCSID & PCSID on the journals --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#166106