OdooWiki OCA HUB

L10n Br Portal

l10n_br_portal folder_open OCA/l10n-brazil open_in_new
Uncategorised License: AGPL-3

Localização do módulo portal

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Brazilian address and tax fields (CNPJ/CPF, State and Municipal Tax Numbers, district, street number, city) to the customer portal account page, with automatic ZIP code lookup and input masks.

This module adapts the customer portal account page (/my/account) for Brazilian users. When a portal user edits their details, they now see and can fill in Brazilian-specific fields: CNPJ/CPF, Legal Name, State Tax Number, Municipal Tax Number, Street, Number, District, City and Zip Code.

  • The Zip Code field is masked and, when filled, automatically looks up the address and fills in district, street, country, state and city.
  • The CNPJ/CPF field is masked and formatted automatically for either CPF or CNPJ.
  • The City dropdown is filtered based on the selected State.
  • Once a document (invoice, etc.) has been issued for the account, the CNPJ/CPF, Legal Name, State Tax Number and Municipal Tax Number fields become read-only, preventing changes.
  • Several fields become mandatory on the portal form: state, city, district, street number, CNPJ/CPF, zip code and street name.

The module extends res.partner and the portal controller, and modifies the portal account template. It is installed automatically when both the portal and Brazilian ZIP modules are present.

Depends on

Required by other modules

Models and fields (1)
  • res.partner · new model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 17.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

To install this module, you need to do nothing

To configure this module, you need to do nothing

To use this module, you need go to portal and edit your contact info:

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.