Friday, September 18, 2026
3 changes · saas-19.2
Enhancements to existing features
The Canary Islands chart of accounts now includes the proper receivable and payable accounts for IGIC taxes. This allows Odoo to post IGIC tax adjustments to the right accounts during tax period closing and reporting, improving accounting accuracy for affected Spanish localizations.
Original PR description
… CoA The Canary Islands chart of accounts was missing dedicated receivable/payable accounts for IGIC. Without these, Odoo cannot automatically post tax adjustments to the correct accounts when closing tax periods or generating the tax report. Add accounts 470700 (Hacienda Pública, deudor por IGIC, asset_receivable) and 475700 (Hacienda Pública, acreedora por IGIC, liability_payable) to the common Canary Islands account template, and set them as tax_receivable_account_id and tax_payable_account_id on all IGIC tax groups. Change to the canaries association their correspondent account codes overwriting the names. task-6225928 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
Inventory availability searches now run much faster by using existing stock quantity records instead of scanning broader stock movement data. This improves responsiveness for businesses with large product catalogs or many warehouse operations, especially when filtering products by available stock.
Original PR description
**Problem:** Searching on free_qty can be slow when there are many stock.move and stock.quant. The search method uses _compute_quantities_dict() to compute the free_qty based on stock.move and…
**Problem:** Searching on free_qty can be slow when there are many stock.move and stock.quant. The search method uses _compute_quantities_dict() to compute the free_qty based on stock.move and stock.quant, which is expensive. **Solution:** A similar field, qty_available, has a faster search method based on stock.quant only. This method can be adapted to support fast searching on free_qty by also aggregating the reserved_qty and subtracting it from the qty_available. **Perf Table:** Record: product.template, with ~20k stock.picking and most products w/o moves. |Record count|Time before|Queries before|Time after|Queries after| |------------|-----------|--------------|----------|-------------| |10k |2.14s |214 |370ms |45 | |50k |6.06s |644 |829ms |50 | |100k |11.42s |1196 |1.05s |46 | opw-6266096 Forward-Port-Of: odoo/odoo#287363 Forward-Port-Of: odoo/odoo#270434
The Spanish reports app now includes the required return type setup for Mod 420 tax returns. This helps ensure the report can be handled consistently with other tax returns, supporting smoother filing workflows.
Original PR description
Add the `es_mod420_tax_return_type` record to `account_return_data.xml` to support the Mod 420 tax return, including its association with the `l10n_es.mod_420` report. This change is done so that 420 can have return types, which bedore it didn't. task-6225928