Daily updates from Odoo
Thursday, August 28, 2025
4 changes · saas-18.3
Enhancements to existing features
Odoo now treats ZATCA's duplicate-submission response for Saudi B2C invoices as confirmation that the invoice was already received. This prevents invoices from remaining in an uncertain or failed state after a timeout and reduces manual follow-up for Saudi e-invoicing users.
Original PR description
ZATCA introduced a new response code (409) to handle duplicate invoice submissions for B2C. This is helpful because when the submission timesout, we are left unsure whether ZATCA successfuly received the invoice or not. The next time Odoo tries to send the same invoice, Zatca will respond with a 409 error if it was received earlier. In which case, we mark the invoice as successfully sent. A similar flow applies for B2B, with a response code of 208 for duplicate invoices. However, for B2B, ZATCA accepts the duplicate with a warning instead of an error, So the invoice gets marked as sent in Odoo, and no changes need to be done there. task-id: 4745275 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 Forward-Port-Of: odoo/odoo#224478 Forward-Port-Of: odoo/odoo#223754
A test that can sometimes freeze during nightly builds when a time-simulation tool is active has been disabled temporarily. This helps keep automated build checks moving while the underlying issue is investigated, with no expected impact on end users.
Original PR description
For a strange reason, this test can get stuck while compiling the sources with libsass when faketime is active. Some more investigation is needed but disabling it for now to avoid having builds stuck during the nightly Forward-Port-Of: odoo/odoo#224422
The UBL BIS3 e-invoicing process now uses the newer generation helpers by default, making the updated approach standard across supported versions. Businesses benefit from more consistent electronic invoice output while retaining the option to switch back if needed.
Original PR description
In 0f3a9dee5cf15 we back-ported the new refactored helpers for UBL BIS3 generation to 18.0. However the new helpers would be used only if the `ir.config.parameter` `account_edi_ubl_cii.use_new_dict_to_xml_helpers` was set to True. This commit switches the new helpers on by default in 18.0 -> 18.3, but they can still be switched off by setting that parameter to False. task-none Forward-Port-Of: odoo/odoo#218793
This update adds database indexes that help Odoo find related partners and purchase orders more quickly. Business users should see faster loading and counting on partner records, especially in databases with many contacts or purchase orders.
Original PR description
Adding some missing indexes: - `res.partner.company_registry`: necessary for the second search in `_compute_same_vat_partner_id` - `purchase.order.partner_id`: necessary for the `_read_group` in `res.partner._compute_purchase_order_count` --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#224436 Forward-Port-Of: odoo/odoo#223706