Thursday, March 5, 2026
3 changes · saas-18.4
Enhancements to existing features
The unpaid bills filter now includes draft vendor bills as well as posted bills when they are not paid or partially paid. This gives finance teams a more complete view of outstanding supplier obligations while excluding cancelled items and journal entries.
Original PR description
In this commit: - Updated the `Unpaid` filter to show draft bills in addition to posted bills. The filter now includes all non-cancelled bills with payment status `Not Paid` or `Partially Paid`. - Backported the logic from 18.0 to ensure journal entries are filtered out by checking that type is not equal to `journal_entry`. task-5900283 Forward-Port-Of: odoo/odoo#251208 Forward-Port-Of: odoo/odoo#247179
The Saudi e-invoicing onboarding check now looks only at relevant pending ZATCA documents instead of scanning every journal entry. This reduces memory usage and prevents failures for companies with very large journals.
Original PR description
Behavior before: Sanity check looped over all account moves of the journal, filtering in Python for ZATCA documents. This caused memory errors when the journal had hundreds of thousands of moves. Behavior after: The check now searches directly on l10n_sa.edi.document with a domain that filters only relevant moves with state 'to_send', reducing memory usage and avoiding Python-level loops. Root cause: Loading all moves and their One2many edi_document_ids in memory for filtering caused excessive memory usage and MemoryError on large journals. OPW-5972073 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#251732
This update addresses a significant change in the format required for Spanish VAT reporting (Mod303). Specifically, a new field for 'petrol' has been added, and the arrangement of various data elements ('casillas') has been adjusted to comply with updated tax regulations. This ensures accurate and compliant VAT reporting for Spanish businesses.
Original PR description
The format for 2026 changed quite significantly. There is an extra field for the petrol, which we basically do not touch and a lot of casillas that changed places. opw-5990405 Forward-Port-Of: odoo/enterprise#109503