Daily updates from Odoo
Friday, May 8, 2026
3 changes · saas-19.2
Enhancements to existing features
This update ensures Odoo can correctly validate Brazilian CNPJs, which are transitioning to an alphanumeric format due to government changes. This change avoids a dependency issue with an older library and prepares Odoo for future CNPJ 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 improves the demo data for Odoo's Brazil localization (l10n_br) module. The changes ensure the demo data accurately reflects Brazil's tax and business regulations, making it more reliable for testing and showcasing the module's functionality. This update primarily impacts the demonstration of the l10n_br 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 accuracy of the Brazil demo data within Odoo Enterprise. The changes to product and company data ensure that testing of the l10n_br_avatax module runs smoothly and reflects current Brazilian tax regulations. This supports ongoing development and validation of the Brazil localization features.
Original PR description
Updated Brazil Product and company demo data to ensure accurate testing task-6159933 Forward-Port-Of: odoo/enterprise#115361