Thursday, May 8, 2025
2 changes · 18.0
Enhancements to existing features
The Guatemala localization now supports local CUI and NIT identification types and includes Guatemala-specific fuel taxes. This helps companies operating in Guatemala keep partner records and tax calculations aligned with local requirements, with updated demo data to reflect the new setup.
Original PR description
Added support for CUI and NIT identification types, added GT-specific fuel taxes (requiring a dependancy on account_tax_python), updated demo data. CUI for demo_partner set to an obviously fake 1111111100000 for the moment as the originally provided one doesn't pass the validation. To work alongside l10n_co, requires the fix in https://github.com/odoo/enterprise/pull/81216 (temporary branch for 18.0 to work with the runbot is added here https://github.com/odoo/enterprise/pull/80671) task-4318265 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Deleting expenses is now much faster when accounting records are large. This reduces waiting time for users and improves day-to-day performance without changing how expenses work.
Original PR description
Description ----------- Deleting an expense is slow when the `account_move_line` table is large, as the `Many2one`/`fkey` `expense_id` needs to be set to `NULL` where necessary. If there is no index on the `fkey`, it's `Seq. Scan` on the table `account_move_line`. Benchmark: ---------- On odoo.com, unlinking an expense took: | Before | After | |--------|-------| | 10s | 58ms | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr