Daily updates from Odoo
Sunday, February 22, 2026
1 change · saas-19.1
Enhancements to existing features
This update optimizes the process of assigning tax tags to invoices in the Indian localization (l10n_in) module. By restricting processing to Indian invoices and using faster XMLID resolution, the system now performs more efficiently, reducing unnecessary load and improving response times. This results in a smoother user experience for our Indian customers.
Original PR description
Before this commit: - `_get_l10n_in_tax_tag_ids()` was executed for moves unrelated to Indian localization, causing unnecessary processing. - Profiling showed repeated `env.ref` lookups (>≈1.6% transactions each) even for a simple invoice flow (create → add products → post). After this commit: - Restrict execution to Indian-specific moves only. - Replace `env.ref` with `_xmlid_to_res_id` for faster XMLID resolution. task-5935607 Forward-Port-Of: odoo/odoo#248960