Daily updates from Odoo
Friday, May 8, 2026
3 changes · saas-19.3
Enhancements to existing features
This update ensures Odoo can correctly validate Brazilian CNPJs, which are transitioning to an alphanumeric format due to government expansion. This change avoids a dependency issue with an older validation library and prepares Odoo for future Brazilian business registrations. It’s a necessary update to support Brazilian businesses accurately.
Original PR description
Purpose: The Brazilian Federal Government, through the Brazilian Federal Revenue Service (Receita Federal do Brasil), is implementing the alphanumeric CNPJ to address the imminent depletion of its…
Purpose: The Brazilian Federal Government, through the Brazilian Federal Revenue Service (Receita Federal do Brasil), is implementing the alphanumeric CNPJ to address the imminent depletion of its capacity to generate new CNPJ numbers. The current, exclusively numeric model is approaching its limit. The transition to a format that includes letters and numbers expands the number of possible combinations, ensuring the future availability of registrations for new companies. With the government expanding the CNPJ numbers, we need to implement a solution to support the alphanumeric CNPJ that will be issued starting July 2026. Current Behavior: The method, `is_valid,` from stdnum is currently used to determine whether the CNPJ is valid or not. This is now considered an outdated method to determine the validation. Changed Behavior: The new validation logic by stdnum, found here https://github.com/arthurdejong/python-stdnum/commit/d3ec3bd7fefe0d0a708b6594a66de28777eb9b8d, is patched into `check_vat_br.` The reasoning for patching this rather than calling stdnum is because using stdnum will cause library dependency issues for older versions of Odoo. task-5234869 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#262939 Forward-Port-Of: odoo/odoo#260516
This update ensures the demo data for Brazil (l10n_br) is accurate and reliable. The changes update product and company information, improving the quality of testing and providing a more realistic demonstration of the Brazil localization features within Odoo. This helps ensure accurate reporting and configuration for businesses using the Brazil module.
Original PR description
Updated Brazil Product and company demo data to ensure accurate testing task-6159933 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#261636
This update improves the Brazil demo data within Odoo Enterprise to ensure accurate testing of the l10n_br_avatax module. The changes include updated product and company data, allowing for more reliable testing of Brazil-specific tax calculations and reporting. This ensures the demo environment reflects the latest requirements.
Original PR description
Updated Brazil Product and company demo data to ensure accurate testing task-6159933 Forward-Port-Of: odoo/enterprise#115361