Brazilian Localization CRM CNPJ Search
Módulo que adiciona um botão para preencher automaticamente os campos de um lead a partir do seu CNPJ.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a CNPJ search button on CRM leads so Brazilian company data (address, tax IDs, CNAE codes) is filled in automatically from the CNPJ.
This module brings Brazilian company lookup into CRM leads. On a lead form, next to the CNPJ field, a small search button appears when the lead's country is Brazil. Clicking it opens the CNPJ search wizard, which retrieves company information from the CNPJ and fills the lead with the returned data.
After the lookup, the lead is updated with the company name, legal name, state registration (IE), municipal registration (IM), SUFRAMA code, address details (street, number, complement, district, city, state, country), phone, email, legal nature, share capital, main CNAE and secondary CNAEs. The same data is then used when the lead is converted into a customer, so the created contact keeps the fiscal information.
A new Fiscal section is added to the lead form showing legal nature, share capital, main CNAE and secondary CNAEs. The module also extends the partner search wizard so it works from a lead context, and it touches the crm.lead model by adding the secondary CNAE field and extending the customer preparation logic.
Depends on
Models and fields (2)
- crm.lead · extends an existing modelcnae_secondary_ids
- partner.search.wizard · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-brazil.
terminal Installation and usage
OCA documentation · Odoo 19.0Installation
Source · Odoo 19.0Este módulo depende do módulo l10n_br_cnpj_search e l10n_br_crm.
Configuration
Source · Odoo 19.0Esta busca de informações a partir do cnpj é realizada com base no provedor configurado na aba de configurações, vale ressaltar que o provedor receitaws permite a realização de três consultas por minuto, enquanto que o SERPRO é pago e permite consultas ilimitadas em seus planos.
Usage
Source · Odoo 19.0- Acesse Configurações
- Escolha um provedor para a busca
- Habilite o Lead nas configurações do CRM
- Acesse CRM \> Lead \> Criar
- Preencha o nome do Lead, insira no campo de CNPJ o CNPJ que deseja buscar e clique na lupa ao lado do campo para buscar
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.