Saturday, April 18, 2026
3 changes · saas-18.2
Resolved issues and error corrections
Odoo now handles invalid Taiwan tax ID entries gracefully when creating or editing customers. Instead of crashing on letters or other non-numeric characters, users receive a clear warning so they can correct the Tax ID and continue working.
Original PR description
**Steps to reproduce:** - Install the `base_vat` module. - Navigate to Invoicing > Customers. - Create a new contact and set the country to `Taiwan`. - Enter `1234567A` as the `Tax ID` and try to `save`. **Error:** `ValueError: invalid literal for int() with base 10: 'A'` **Root cause:** At [1], `check_vat_tw` is missing validation to ensure that the VAT number (without the country code) contains only digits, which causes an error when calling the `int()` method on the VAT number. **Fix:** This commit prevents errors and ensures users receive a `clear warning message`. [1]: https://github.com/odoo/odoo/blob/23398d24e108875b2838715d4b366df265d53234/addons/base_vat/models/res_partner.py#L929-L958 **No task Id** Forward-Port-Of: odoo/odoo#259936 Forward-Port-Of: odoo/odoo#259847
A test case in the Helpdesk Stock module was corrected to remove a field that was no longer relevant. This change ensures the tests accurately reflect the current functionality of the module and avoids potential errors. The fix was automatically validated by automated testing.
Original PR description
Remove sale_line_id field from the test as it belongs to helpdesk_sale_timesheet and is not available in this module. runbot link - https://runbot.odoo.com/odoo/runbot.build.error/242470 Forward-Port-Of: odoo/enterprise#114162
Features or functions removed from Odoo
The accounting tax setup no longer shows a tooltip that incorrectly implied taxes were restricted by product type. This reduces confusion for users configuring taxes and better reflects how the field actually works.
Original PR description
The current tooltip suggests that the `tax_scope` field restricts the use of taxes based on the product type. However, this is misleading, as the field does not enforce any restriction at the product level. To avoid confusion, remove the tooltip entirely. Backport of: https://github.com/odoo/odoo/pull/256573 opw-6118051 Forward-Port-Of: odoo/odoo#259550