OdooWiki OCA HUB

delivery module Brazilian Localization

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

(summary: extends the delivery module to comply with the fiscal documents requirements)

Esse módulo localiza o módulo delivery para adequar as necessidades do Brasil. Em especial ele:

> - acrescenta informações para os Documentos Fiscais: Transportadora, > responsabilidade do frete, volume e peso bruto. > - acrescenta na Transportadora o código ANTT e a lista de veículos. > - cria um modelo simples de veículo com os campos fiscais (placa, > código ANTT, modelo, ano de fabricação...) > - desativa o método _add_delivery_cost_to_so da Expedição, pois o > frete já esta corretamente informado no pedido. > - vale a pena notar que o rateamento do frete, seguro e outros custos > já esta sendo feito pelo módulo l10n_br_fiscal, tanto para notas de > saída como de entrada. > - se você for emitir NF-e, você precisa do módulo > l10n_br_delivery_nfe que faz a integração deste módulo com o > módulo l10n_br_nfe.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Brazilian fiscal delivery data to Odoo: carriers get an ANTT code and a list of vehicles, Incoterms get a freight responsibility code, and sales orders show total gross weight and volume.

This module adapts the standard Delivery features to Brazilian fiscal needs, so the information required on fiscal documents is available in Odoo.

  • On delivery carriers (Delivery Methods) you get a new ANTT code field and a list of vehicles. The carrier's address is restricted to supplier contacts.
  • A new Vehicle screen is available under the Delivery menu. Each vehicle stores plate, driver, ANTT code, country/state/city, manufacture year, model year, type and its carrier. Salespeople and warehouse users can view vehicles; only warehouse managers can create or edit them.
  • Incoterms gain a "Freight responsibility" field with the Brazilian codes (0 CIF, 1 FOB, 2 third parties, 3 own transport by sender, 4 own transport by receiver, 9 no transport). It is required and defaults to 0. The FOB and CIF Incoterms are pre-set to 1 and 0.
  • Fiscal documents can now record a carrier.
  • On transfer orders (stock pickings) an Incoterm field is added. The automatic adding of delivery cost back to the sales order is disabled, because freight is already entered on the order.
  • On sales orders, total gross weight and total volume are computed from the ordered quantities times each product's weight and volume. The carrier is shown on the order and can only be changed while the order is draft or sent.

Menus it adds

Vehicle
Models and fields (6)
  • sale.order · extends an existing modelamount_volume, amount_gross_weight
  • stock.picking · extends an existing modelincoterm_id (Incoterm)
  • delivery.carrier · extends an existing modelantt_code (Codigo ANTT), vehicle_ids (Vehicles)
  • account.incoterms · extends an existing modelfreight_responsibility (Frete por Conta)
  • l10n_br_fiscal.document.mixin · extends an existing modelcarrier_id (Carrier)
  • l10n_br_delivery.carrier.vehicle · new modelname, type (Model Type), plate (Placa), active, driver, city_id (City), state_id (State), rntc_code (ANTT Code), carrier_id (Carrier), country_id (Country), model_year (Ano do Modelo), description, manufacture_year (Ano de Fabricacao)

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

This module depends on:

  • l10n_br_sale_stock
  • delivery
  • delivery_carrier_partner

Cadastre os Métodos de Envio que poderão ser selecionados nos Pedidos de Vendas, em:

> - Inventário \> Configuração \> Entrega \> Métodos de Envio

Veja que cada método é referente a uma Transportadora, também é possível cadastrar os Veículos da Transportadora em:

> - Inventário \> Configuração \> Entrega \> Veículo

Para usar esse modulo você precisa:

  • Criar um Pedido de Venda informar o Método de Entrega e o valor do Frete, se necessário os valores de Seguro e Outros Custos.
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.