Brazilian Localization Website Sale Delivery
This module was written to extend the functionality of delivery to support the adequacy of Brazilian delivery standards and display the correct freight fields in website.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0On Brazilian websites, the delivery cost shown at checkout now uses the Brazilian freight value instead of the standard delivery price, and delivery costs are always recalculated from the order total.
This module adapts the online shop checkout for Brazil. When a customer places an order on the website, the delivery amount displayed and stored on the sales order is taken from the Brazilian freight value field (amount_freight_value) rather than the usual delivery price. This happens automatically whenever the order is recalculated, for example when lines, quantities, taxes, discounts or the freight value change.
The rule only applies when the company's country is Brazil (country code "BR"). For orders created from the website, the system also forces the delivery cost to be computed from the order total, so the freight is recalculated consistently during checkout.
- The change is visible on the website checkout delivery step and on the sales order's delivery amount.
- It touches the
sale.ordermodel and its delivery amount computation. - A front-end script is loaded on the website, mainly used to test the checkout flow with Brazilian addresses and delivery carriers.
No new menus or screens are added; the module only changes how delivery costs are calculated and displayed inside the existing online shop and sales order screens.
Depends on
Models and fields (1)
- sale.order · extends an existing model
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-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/l10n-brazil.
terminal Installation and usage
OCA documentation · Odoo 14.0Installation
Source · Odoo 14.0To install this module, you need to do nothing
Configuration
Source · Odoo 14.0No additional configuration is required to use this module
Usage
Source · Odoo 14.0To use this module, you need to:
- Create a sale order via website shop
- Check if the freight value displayed to the customer represents the correct calculated freight value
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.