Tuesday, May 21, 2024
3 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
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 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