OdooWiki OCA HUB

L10n Br Website Sale

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

This module adds brazilian fields and field validations to website sale.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds Brazilian address and tax fields to the website checkout, validates CPF/CNPJ numbers, and fills in the address automatically from the Brazilian ZIP code.

This module adapts the Odoo online shop checkout for Brazilian customers. When a customer enters a Brazilian address, the address form changes: the free-text city field is replaced by a city list linked to the selected state, and new fields appear for CPF/CNPJ, street name, street number, district and mobile phone.

  • The ZIP code field is formatted as 00000-000, and after typing it the system looks up the address and fills in street, district, state and city automatically.
  • CPF and CNPJ numbers are checked when the customer confirms the order; an invalid number blocks the checkout with a message ("CPF Inválido" or "CNPJ Inválido").
  • For companies, extra tax number fields (state and municipal tax numbers) are shown and become read-only once documents have been issued for the account.
  • When the order is confirmed, fiscal information on each order line is recalculated (fiscal operation, taxes and commercial quantity) so the Brazilian invoice data is correct.

The module touches the website checkout address screens and the sale order lines, and depends on the Brazilian localization, portal and website sale modules.

Depends on

Required by other modules

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

Sources · Odoo 14.0

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

terminal Installation and usage

OCA documentation · Odoo 14.0

This module depends on:

  • website_sale
  • l10n_br_sale
  • l10n_br_portal

No configuration required.

No verified information in OCA: Usage.

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.