OdooWiki OCA HUB

Brazilian Localization Website Sale Delivery

l10n_br_website_sale_delivery folder_open OCA/l10n-brazil open_in_new
Localization License: AGPL-3

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.0

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

Confirmation 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.0

To install this module, you need to do nothing

No additional configuration is required to use this module

To 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
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.