OdooWiki OCA HUB

Brazilian Localization CRM

l10n_br_crm folder_open OCA/l10n-brazil open_in_new
Localisation License: AGPL-3

Este módulo implementa campos utilizados na localização brasileira como CNPJ, CPF, Inscrição Estadual e campos de endereço no objeto Prospecto e também localiza estes campos na criação de parceiro a partir de um prospecto.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds Brazilian tax and address fields (CNPJ/CPF, Inscrição Estadual, RG, street name/number, district, IBGE city) to CRM leads and opportunities, and carries them over when a lead is converted into a customer.

This module brings Brazilian fiscal identification into the CRM. On leads and opportunities you get extra fields: CNPJ/CPF (vat), Inscrição Estadual, Inscrição Municipal, ISUF, RG, legal name, name and surname, street name, street number and district.

These fields only appear when the lead or its linked customer is in Brazil, so the form stays clean for other countries. The Brazilian fields are shown on the lead form and are also carried into the quick opportunity creation form.

Business rules added by the module: - CNPJ/CPF and Inscrição Estadual are validated when saved, according to the state and country. - The postal code is automatically formatted for Brazil. - Choosing an IBGE city fills the standard city field, keeping other modules compatible. - When you pick an existing customer on a lead, its Brazilian data (tax numbers, address details, legal name) is copied onto the lead. - When a lead is converted into a customer, the Brazilian fields are transferred to the new contact, and the country is set to Brazil if a CNPJ/CPF is present. - A button opens a wizard to search company data by CNPJ; it requires a CNPJ and the CNPJ validation option to be enabled.

It touches crm.lead and the customer creation flow, and depends on the Brazilian base localization.

Depends on

Required by other modules

Models and fields (1)
  • crm.lead · new modelstreet_name, name_surname (Name and Surname), show_l10n_br, street_number, l10n_br_rg_code (RG)

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/l10n-brazil.

terminal Installation and usage

OCA documentation · Odoo 19.0

Este módulo depende do módulo l10n_br_base e crm.

Após a instalação deste módulo deve ser configurado o endereço da empresa para que os campos de endereço tenha o formato utilizado no brasil.

Ao acessar um prospecto sera visualizado campos, formatações e validações nos campos CNPJ, CPF, e IE, e a formatação do endereço utilizados no brasil.

info

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.