Sunday, April 5, 2026
2 changes · 19.0
Resolved issues and error corrections
Unit names made of a single letter, such as m, l, or g, can now be included in translation exports. This helps translators localize units of measure correctly while still excluding meaningless punctuation or numeric-only text.
Original PR description
Single-letter strings (as used for units of measure, like `m`, `l`, `g`) are not exportable for translation, because the export of translation strings was filtering out different strings based on the type of the translation. This commit harmonized the filtering to the single condition of a string containing at least one letter, which allows exporting single-letter strings while still filtering out non-meaningful strings like `:`, `...`, `.00`, etc. Issue reported by one of our translators. Forward-Port-Of: odoo/odoo#257080
Applying an inactive TDS or TCS tax in Indian withholding could previously fail with an error instead of completing normally. The fix ensures inactive taxes are still considered when checking tax applicability, improving reliability for accounting workflows.
Original PR description
Before this **PR**, attempting to apply an inactive tax resulted in a traceback. This occurred because l10n_in_section_tax_ids was empty, resulting in an empty iterable being passed to max(), which caused the error. To resolve this issue, l10n_in_section_tax_ids is now called with the context `active_test=False`. task-6074534 Forward-Port-Of: odoo/odoo#257724 Forward-Port-Of: odoo/odoo#256809