Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 9 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
5 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 6 models 7 views 0 HTTP endpoints

Description

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

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 7

XML IDNameModelTypeStatus
l10n_br_account_nfe_account_incoterms_form account.incoterms.form account.incoterms form Inherits account.account_incoterms_form
l10n_br_delivery-view_picking_withcarrier_out_form l10n_br_delivery.picking.form stock.picking form Inherits stock.view_picking_form
l10n_br_delivery_account_incoterms_tree account.incoterms.tree account.incoterms tree Inherits account.view_incoterms_tree
l10n_br_delivery_carrier_form_view l10n_br_delivery.carrier.form delivery.carrier form Inherits delivery_carrier_partner.view_delivery_carrier_form
l10n_br_delivery_carrier_vehicle_form l10n_br_delivery.carrier.vehicle.form l10n_br_delivery.carrier.vehicle form New
l10n_br_delivery_carrier_vehicle_tree l10n_br_delivery.carrier.vehicle.tree l10n_br_delivery.carrier.vehicle list New
l10n_br_delivery_sale_form l10n_br_delivery.sale.order.form sale.order form Inherits sale.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (1)
  • freight_responsibility Selection
    default='0' help='Informação usada na emissão de Documentos Fiscais' required=True selection=MODFRETE_TRANSP string='Frete por Conta'
Public methods (0)

No public methods.

New fields (2)
  • antt_code Char
    string='Codigo ANTT'
  • vehicle_ids One2many → l10n_br_delivery.carrier.vehicle
    comodel_name='l10n_br_delivery.carrier.vehicle' inverse_name='carrier_id' string='Vehicles'
Public methods (0)

No public methods.

New fields (13)
  • active Boolean
  • carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' index=True ondelete='cascade' string='Carrier'
  • city_id Many2one → res.city
    comodel_name='res.city' domain="[('state_id', '=', state_id)]" string='City'
  • country_id Many2one → res.country
    comodel_name='res.country' string='Country'
  • description Char
  • driver Char
  • manufacture_year Char
    string='Ano de Fabricacao'
  • model_year Char
    string='Ano do Modelo'
  • name Char
    required=True
  • plate Char
    string='Placa'
  • rntc_code Char
    string='ANTT Code'
  • state_id Many2one → res.country.state
    comodel_name='res.country.state' domain="[('country_id', '=', country_id)]" string='State'
  • type Selection
    selection=[('bau', 'Caminhao Bau')] string='Model Type'
Public methods (0)

No public methods.

New fields (1)
  • carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' ondelete='restrict' string='Carrier'
Public methods (0)

No public methods.

New fields (2)
  • amount_gross_weight Float
    compute='_compute_amount_gross_weight'
  • amount_volume Float
    compute='_compute_amount_volume'
Public methods (1)
  • set_delivery_line(self, carrier, amount)

New fields (1)
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' string='Incoterm'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…