delivery module Brazilian Localization
l10n_br_delivery · OCA/l10n-brazil
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 9 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
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
- Odoo dependencies
-
OCA/account-invoicing:OCA/delivery-carrier:OCA/l10n-brazil:OCA/product-attribute:OCA/server-tools:OCA/stock-logistics-workflow:odoo/odoo:- sale- base- mail- web- bus- web_tour- account- product- uom- analytic- portal- digest- resource- payment- utm- stock- barcodes- contacts- delivery
- Python dependencies
- erpbrasil-base>=2.5.0, email-validator, erpbrasil-base>=2.4.2, num2words, phonenumbers
- System dependencies
- None
- Required by
- l10n_br_delivery_nfe
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_responsibilitySelectiondefault='0'help='Informação usada na emissão de Documentos Fiscais'required=Trueselection=MODFRETE_TRANSPstring='Frete por Conta'
No public methods.
New fields (2)
-
antt_codeCharstring='Codigo ANTT' -
vehicle_idsOne2many → l10n_br_delivery.carrier.vehiclecomodel_name='l10n_br_delivery.carrier.vehicle'inverse_name='carrier_id'string='Vehicles'
No public methods.
New fields (13)
-
activeBoolean -
carrier_idMany2one → delivery.carriercomodel_name='delivery.carrier'index=Trueondelete='cascade'string='Carrier' -
city_idMany2one → res.citycomodel_name='res.city'domain="[('state_id', '=', state_id)]"string='City' -
country_idMany2one → res.countrycomodel_name='res.country'string='Country' -
descriptionChar -
driverChar -
manufacture_yearCharstring='Ano de Fabricacao' -
model_yearCharstring='Ano do Modelo' -
nameCharrequired=True -
plateCharstring='Placa' -
rntc_codeCharstring='ANTT Code' -
state_idMany2one → res.country.statecomodel_name='res.country.state'domain="[('country_id', '=', country_id)]"string='State' -
typeSelectionselection=[('bau', 'Caminhao Bau')]string='Model Type'
No public methods.
New fields (1)
-
carrier_idMany2one → delivery.carriercomodel_name='delivery.carrier'ondelete='restrict'string='Carrier'
No public methods.
New fields (2)
-
amount_gross_weightFloatcompute='_compute_amount_gross_weight' -
amount_volumeFloatcompute='_compute_amount_volume'
-
set_delivery_line(self, carrier, amount)
New fields (1)
-
incoterm_idMany2one → account.incotermscomodel_name='account.incoterms'help='International Commercial Terms are a series of predefined commercial terms used in international transactions.'string='Incoterm'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…