Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] l10n_br_delivery #3367

Draft
wants to merge 223 commits into
base: 15.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
d036478
Adicionado módulo l10n_br_delivery dependende do modulo delivery do a…
renatonlima Aug 31, 2010
64d9744
atualizando o commit anterior
renatonlima Aug 31, 2010
f5db7fa
Removido o campo weight_net do objeto stock.picking do modulo l10n_br…
renatonlima Sep 8, 2010
20d6fd7
Incluido o campo Descontar imposto para os impostos que são incluidos…
renatonlima Sep 28, 2010
1488be7
concertado a visões herdadas do modulo stock
renatonlima Oct 14, 2010
c5bec28
[REF] extracted l10n_br_base, l10n_sale and l10n_stock from l10n_br; …
rvalyi Oct 25, 2010
b002332
Módulo l10n_br_delivery: Alterado o campo volume para number_of_packa…
renatonlima Oct 28, 2010
aecedc9
Acertada visão do modulo l10n_br_delivery
renatonlima Oct 28, 2010
fedd7c8
Adicionado integração com NFe v2.00 feita através de arquivos XML ou …
renatonlima Nov 29, 2010
5cf1626
Atualização das rotinas NFe, para tirar acentuações, e informar os ca…
renatonlima Nov 30, 2010
cfb0d3f
Corrigido a classe vehicle do modulo l10n_br_delivery
renatonlima Dec 3, 2010
7fcd5ac
Adicionado customizações nos calculos dos tributos e beneficios fisca…
renatonlima Dec 9, 2010
15ea220
Adicionado o campo amount_freight no objeto account.invoice do modulo…
renatonlima Jan 10, 2011
0fdbdfa
l10n_br_delivery - Adicionado campos Tipo do Frete, Veículo, Total do…
renatonlima Jan 14, 2011
ef01309
l10n_br_account - Adicionado o regime tributário na empresa (exigido …
renatonlima Jan 24, 2011
3eb50f7
Alteração para permitir um pedido de venda, separação e nota fiscal o…
renatonlima Feb 3, 2011
1ef013f
l10n_br_stock, concertado bug ao criar nota fiscal apartir do picking
renatonlima Feb 4, 2011
80474e9
l10n_br_base - Filtro de CNPJ na visão de parceiros, adição da chave …
renatonlima Feb 28, 2011
1805988
l10n_br_account - Resolução da nota fiscal de serviço.
renatonlima Apr 12, 2011
e89203b
[IMP] moved delivery data NFe validation to l10n_br_delivery so there…
rvalyi Apr 24, 2011
924ddf4
Alterado o nome do campo city_id no objeto res.partner.address para l…
renatonlima May 9, 2011
92182e9
Renomeado o campo city_id para o l10n_br_city_id no objeto l10n_br_ba…
renatonlima May 11, 2011
43b80bf
l10n_br_account: extendido o wizard do plano de contas para copiar o …
renatonlima May 17, 2011
563f28d
removido o módulo l10n_br_fp_rule_sale_link, pois foi resolvido o pro…
renatonlima May 24, 2011
11a861a
l10n_br_account: implementados filtros na visão da nota fiscal, de pr…
renatonlima Jun 10, 2011
2ef5fb9
l10n_br_account alterada a rotina de nfe para pegar o valor do código…
renatonlima Jul 18, 2011
86b1bb5
deixar explicito a licença da localização
renatonlima Jul 18, 2011
b9815f2
l10n_br_delivery corrigida visão herdada do l10n_br_account
renatonlima Sep 27, 2011
4652c8c
l10n_br_account: alterada a visão dos dados adicionais da nota fiscal…
renatonlima Nov 14, 2011
ffc1bd0
l10n_br_sale e l10n_br_delivery: Resolvido compatibilidade entre os m…
renatonlima Nov 15, 2011
7a06d0e
alterado comentários dos arquivos *.py e mudado estilo de codificação…
renatonlima Nov 23, 2011
ceee435
Removido '\' do código
renatonlima Nov 23, 2011
65633ea
l10n_br_delivery corrigido importação
renatonlima Nov 23, 2011
e63241b
l10n_br_stock: Adicionado nas condições de entregas o campo de despes…
renatonlima Jan 26, 2012
da66695
[REF] more empty lines removal
rvalyi Mar 18, 2012
ea241ff
[IMP] l10n_br_delivery: do not blow out in case of missing fiscal par…
rvalyi Mar 22, 2012
52e5e71
l10n_br_delivery: limpeza e formatação do código
renatonlima Oct 30, 2012
c0b3814
Transferido os campos obrigatórios no documento fiscal implementado n…
renatonlima Nov 8, 2012
cd04b04
Transferido os campos obrigatórios no documento fiscal implementado n…
renatonlima Nov 8, 2012
d84e060
[FIX] l10n_br_delivery, l10n_br_account: adicionado filtro nas regras…
renatonlima Dec 12, 2012
724fad2
[FIX] Alterado métodos de criação de nota fiscal no módulo l10n_br_de…
renatonlima Dec 14, 2012
0a33438
[FIX] removed fiscal_operation_id field
renatonlima Dec 18, 2012
93d18ed
formatação do código PEP8
renatonlima Jan 29, 2013
cb74cd3
[MIGR] migração do modulo l10n_br_delivery
renatonlima Feb 6, 2013
ba0b481
[MIGR] trocadas chaves update_xml, init_xml por data e demo_xml por d…
renatonlima Feb 11, 2013
5c19303
[MERGE] migração do módulo l10n_br_data_delivery para versão 7.0
renatonlima Apr 16, 2013
040eb14
[FIX] rotina de validação da NFe do módulo l10n_br_delivery
renatonlima May 25, 2013
7a4fc9b
Alterado o nome de alguns módulos para deixar mais legível
renatonlima Aug 30, 2013
44ac7b1
Adicionado arquivos de tradução vazios pt_BR.po para evitar mensagens…
renatonlima Dec 12, 2013
da99ee3
Atualização das versões dos módulos
renatonlima Dec 12, 2013
17f1294
[REF] Refatorado aquivos no módulo l10n_br_delivery
renatonlima Dec 13, 2013
a467d88
[REF] Refatorado aquivos de visões no módulo l10n_br_delivery
renatonlima Dec 13, 2013
8e45a53
[MIG] Migração do desconto e frete na branch develop, arquivos do l10…
mileo Jan 20, 2014
74a310f
Revert "[MIG] Frete e desconto l10n_br_account"
mileo Jan 20, 2014
260adec
[FIX][REF] PEP8 class name, linha removida incorretamente
mileo Jan 20, 2014
dcf2a0f
[FIX] Class name
mileo Jan 20, 2014
4d6ce16
[FIX] Alguns refactoring para concertar a geração da fatura quando nã…
renatonlima Jan 25, 2014
9d25556
[FIX] corrigido nome da classe errado
renatonlima Jan 27, 2014
02668be
Corrigido erros de digitação e adicionado traduções aos módulos
danimaribeiro Mar 12, 2014
9bde548
Inicio da extração dos campos e métodos do módulo l10n_br_sale para o…
renatonlima Mar 15, 2014
dc0a85e
Inicio da extração dos campos e métodos do módulo l10n_br_delivery pa…
renatonlima Mar 15, 2014
62549c5
Extraido métodos do módulo l10n_br_delivery para o novo módulo l10n_b…
renatonlima Mar 15, 2014
00f210c
Movido objetos herdados da empresa do módulo l10n_br_delivery para o …
renatonlima Mar 15, 2014
e9f504d
Concluído a criação do módulo l10n_br_sale_product
renatonlima Mar 15, 2014
4790bfa
Adicionados arquivos README.md para descrição dos módulos
renatonlima Oct 22, 2014
b828e95
[MIGRATION] initial commit to new branch 8.0 before migration
renatonlima Oct 22, 2014
520e907
[MOV] move addons out of __unported__ (they remain not installable)
sbidoul Oct 13, 2015
f598546
[FIX] CamelCase Classes
mileo Nov 15, 2015
8a70de0
[REF] Removing active tag from __openerp__.py
mileo Nov 15, 2015
855a1a9
[FIX] PEP8
mileo Nov 15, 2015
ae3cf24
update metadata info
renatonlima Oct 27, 2014
f64427c
migrate stock.picking object and view to new API
renatonlima Oct 27, 2014
386dc09
migrate delivery.carrier to new API
renatonlima Oct 30, 2014
10c2ccb
migrate all objects in l10n_br_delivery.py to new API
renatonlima Oct 30, 2014
0f9c83b
migrate all objects in sale.py to new API
renatonlima Oct 30, 2014
456911d
migrate all objects in stock.py to new API
renatonlima Oct 30, 2014
9cbb392
migrate stock objects
renatonlima Jan 14, 2015
c9f1444
[FIX] import
renatonlima Jan 14, 2015
42137d7
Added api
renatonlima Jan 14, 2015
1609d59
fix self.user to self.env.user
renatonlima Jan 14, 2015
8fb13da
fix stock.move and stock.picking objects
renatonlima Jan 14, 2015
f446bf9
removed debug
renatonlima Jan 14, 2015
2457ff7
migrate method to new api
renatonlima Mar 11, 2015
2878548
moved models and views to a folder as new pattern and replace uncodin…
renatonlima Mar 11, 2015
f7e68d2
pep8 hopefully cleared
rvalyi Oct 22, 2015
a1c59c7
Modificado interface dos transportes, criado onchange para setar os c…
danimaribeiro Oct 9, 2015
1bce221
[MIG] Migration l10n_br_delivery.py and stock.py
mileo Dec 17, 2015
a93f75a
[MIG] Migrate to new api delivery_set
mileo Dec 17, 2015
2bd0146
[FIX] Args delivery _get_invoice_line_vals
mileo Dec 17, 2015
04469ef
[FIX] delivery UserError
mileo Dec 26, 2015
1686381
pep8
renatonlima May 19, 2016
fca3b30
chaged README file
renatonlima May 19, 2016
f557db7
update author and version
renatonlima May 19, 2016
d8b6208
[REF] methods in stock.picking
renatonlima May 19, 2016
e4dbddd
[REF] Replace tabs with spaces
mileo Jul 19, 2016
5bd612d
lighter new style OCA license headers
rvalyi Aug 15, 2016
6fcf841
[REF] change view in l10n_br_delivery
renatonlima Aug 25, 2016
e57018a
[MIG] Make modules uninstallable
renatonlima Dec 2, 2016
264bbe4
[MIG] Rename manifest files
renatonlima Dec 6, 2016
7846bae
[ADD] Freight apportionment
gabrielcardoso21 Nov 10, 2020
e03369f
[REF] Remove no longer used files and set v8 -> v12
DiegoParadeda Nov 10, 2020
8da2639
[ADD] Disable add delivery line from sale.order and stock.picking
DiegoParadeda Nov 10, 2020
8bc6f35
[FIX] Runtime error
gabrielcardoso21 Nov 10, 2020
96c7f32
[FIX] Version and headers
DiegoParadeda Dec 4, 2020
aceb608
[FIX] Flake 8
DiegoParadeda Dec 4, 2020
7176855
[REM] Commented code
gabrielcardoso21 Dec 8, 2020
aafef23
[ADD] Inverse function for other costs
gabrielcardoso21 Dec 8, 2020
a4a1fbb
[ADD] Inverse function for insurance value
gabrielcardoso21 Dec 8, 2020
9d45f79
[FIX] l10n_delivery manifest
luismalta Dec 8, 2020
8f69d6f
[ADD] README files
luismalta Dec 8, 2020
ee71fcc
[IMP] Update values on save
gabrielcardoso21 Dec 9, 2020
543751c
[ADD] l10n_br_delivey tests
luismalta Dec 9, 2020
9c402ae
[FIX] amount_insurance and amount_costs readonly
luismalta Dec 9, 2020
d25f4c7
[FIX] Picking state on test
luismalta Dec 10, 2020
19c5112
[IMP] New test cases
luismalta Dec 10, 2020
a302f09
[IMP] l10n_br_delivery test cases and performance
luismalta Dec 10, 2020
bb2dc5d
[UPD] Update l10n_br_delivery.pot
oca-travis Dec 14, 2020
06fbff4
[UPD] README.rst
OCA-git-bot Dec 14, 2020
006cfb7
[ADD] icon.png
OCA-git-bot Dec 14, 2020
94a8edd
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 17, 2020
5b02268
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 17, 2020
69dc8c9
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 18, 2020
ad48c85
[UPD] Update l10n_br_delivery.pot
oca-travis Feb 22, 2021
392f7fd
[REF] l10n_br_delivery: compute fields, methods, tests and views to u…
renatonlima Mar 8, 2021
edc15c4
l10n_br_delivery: rename costs_value to other_value
renatonlima Mar 10, 2021
7f47da9
[UPD] Update l10n_br_delivery.pot
oca-travis Mar 26, 2021
f6d8290
l10n_br_delivery 12.0.2.0.0
OCA-git-bot Mar 26, 2021
4e90685
rename amount_gross to amount_price_gross in l10n_br_delivery tests
renatonlima Apr 14, 2021
bfdd9c5
l10n_br_delivery 12.0.3.0.0
OCA-git-bot Apr 15, 2021
910e8c9
[ADD] l10n_br_delivery migration 12.0.1.0.0
renatonlima May 26, 2021
7f95770
[REF] Standard OCA website l10n_br_delivery
mileo May 30, 2021
a055acd
[ADD] Carrier infos
renatonlima Jan 4, 2021
5f10bee
[MOV] Moved fields Freight, Insurance and Other Costs to l10n_br_sale…
mbcosta Apr 16, 2021
c111db6
[IMP] Demo data.
mbcosta Apr 19, 2021
e26fd1a
[REM] Delivery Costs in Fiscal Document should be made by wizard Rati…
mbcosta Apr 19, 2021
fcc5a0c
[IMP] Test case where delivery costs Insurance, Freight and Other Cos…
mbcosta Apr 19, 2021
cb974be
[FIX] Put back objects l10n_br_delivery.carrier.vehicle and l10n_br_d…
mbcosta Apr 19, 2021
7024ed2
[FIX] PEP8 and test.
mbcosta Apr 19, 2021
1038678
[REF] l10n_br_delivery objects
renatonlima Apr 24, 2021
f4cd072
[REF] split file by objects
renatonlima Apr 24, 2021
68888cd
[IMP] Included field for amount weight and volume in sale order.
mbcosta Apr 27, 2021
b39a4c5
[FIX] Delivery module has dependency on Sale, this one from Account.
mbcosta May 19, 2021
d3a81bd
[IMP] Information fiscal of freight responsibility can be defined in …
mbcosta May 19, 2021
39ebdf2
[IMP] Included fields to be able to used at inherit objects.
mbcosta May 19, 2021
fb8853e
[FIX] Incoterm at sale.order is not defined with standard field name …
mbcosta May 19, 2021
8239ea4
[IMP] Included incoterm at stock picking view.
mbcosta May 19, 2021
51db78c
[IMP] Defined to show Incoterm at Sale Order and Invoice.
mbcosta May 19, 2021
9cad044
[IMP] Demo data.
mbcosta May 19, 2021
b725436
[FIX] Flake8.
mbcosta May 19, 2021
69852c5
pylint fixes
rvalyi May 20, 2021
bd79d89
[FIX] API definition don't needed.
mbcosta May 21, 2021
b367f71
[REF] Changed method Delivery Price to get value from amount_freight_…
mbcosta May 21, 2021
1db7a42
[FIX+REF] In the tests product should have picking done to create inv…
mbcosta May 21, 2021
fbcec7b
[FIX] Pre commit.
mbcosta Jun 10, 2021
518d684
[FIX] Weight field refers to Gross Weight.
mbcosta Aug 18, 2021
9aff92e
[REF] Included dependecy of module delivery_carrier_partner, less cod…
mbcosta Aug 20, 2021
e43feee
[REF] Standard name of files.
mbcosta Aug 20, 2021
6466a1b
[FIX] Amount Freight informed has preference over value calculate.
mbcosta Aug 20, 2021
92e2c1a
[REM][WIP] The implementation of Shipment information should be made …
mbcosta Aug 23, 2021
bdc00aa
[REF] Relation between Vehicle and Delivery Carrier.
mbcosta Aug 23, 2021
1038f53
[IMP] Demo data.
mbcosta Aug 23, 2021
85c0773
[FIX] Depends modules.
mbcosta Aug 23, 2021
96d5930
[UPD] Update l10n_br_delivery.pot
oca-travis Aug 24, 2021
8d427ff
[UPD] README.rst
OCA-git-bot Aug 24, 2021
d73ce93
[FIX] Standard name to City field.
mbcosta Aug 24, 2021
d6b1d96
[UPD] Update l10n_br_delivery.pot
oca-travis Aug 24, 2021
cc946bb
[FIX] incorterm_id in _shadowed_fields in l10n_br_delivery fixes #1596
rvalyi Aug 28, 2021
54c5f92
[UPD] Update l10n_br_delivery.pot
oca-travis Aug 30, 2021
ac9c6c1
fix demo data
antoniospneto Oct 3, 2021
3678218
[IMP] l10n_br_delivery: pre-commit
marcelsavegnago Dec 31, 2021
c5e310e
[UPD] Update l10n_br_delivery.pot
oca-travis Jan 4, 2022
9c04e9b
[UPD] README.rst
OCA-git-bot Jan 4, 2022
464c05d
[IMP] l10n_br_delivery: black, isort, prettier
marcelsavegnago May 30, 2022
62af569
[MIG] l10n_br_delivery: Migration to 14.0
marcelsavegnago Jul 14, 2022
99c12cd
[MIG] l10n_br_delivery: Demo Data and Tests.
mbcosta Sep 29, 2022
757604b
[MIG] l10n_br_delivery: Show field Carrier to user can choose the Tra…
mbcosta Sep 29, 2022
73f897d
[UPD] l10n_br_delivery: Update README files.
mbcosta Sep 29, 2022
a086aff
[REF] l10n_br_delivery: Remove unnecessary parameter.
mbcosta Sep 30, 2022
74f3f90
[REF] l10n_br_delivery: Vehicle View.
mbcosta Oct 10, 2022
420e8af
[UPD] l10n_br_delivery: Readme files.
mbcosta Oct 10, 2022
bb45ce4
[UPD] Update l10n_br_delivery.pot
Oct 11, 2022
bb9cc0e
[UPD] README.rst
OCA-git-bot Oct 11, 2022
9fed916
[UPD] Update l10n_br_delivery.pot
Oct 18, 2022
3226cfc
Update translation files
weblate Oct 18, 2022
74cef22
[IMP] l10n_br_delivery: force the distribution of the freight value o…
marcelsavegnago Oct 14, 2022
900fbe0
[REF] Context better using kwargs l10n_br_delivery
mileo Oct 21, 2022
1b07dd3
[REF] attribute-string-redundant l10n_br_delivery
mileo Oct 21, 2022
e3d2ebf
[REF] xml-deprecated-tree-attribute l10n_br_delivery
mileo Oct 21, 2022
7fec3d3
[UPD] Update l10n_br_delivery.pot
Oct 22, 2022
562408b
l10n_br_delivery 14.0.1.0.1
OCA-git-bot Oct 22, 2022
b3303a4
Update translation files
weblate Oct 22, 2022
9ac8e4c
Translated using Weblate (Portuguese (Brazil))
douglascstd Nov 23, 2022
2fc6d76
Translated using Weblate (Portuguese (Brazil))
douglascstd Dec 7, 2022
87e2cbb
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
8ecd21f
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
a970c78
[UPD] Update l10n_br_delivery.pot
Feb 4, 2023
d51b119
Update translation files
weblate Feb 4, 2023
ec8cb98
[UPD] Update l10n_br_delivery.pot
Mar 1, 2023
85cae84
Update translation files
weblate Mar 1, 2023
e425cbe
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 29, 2023
b992bfa
[IMP] added proxy field for _inject_shadowed_fields
rvalyi May 21, 2023
5efe70c
[UPD] Update l10n_br_delivery.pot
Jun 3, 2023
e557196
l10n_br_delivery 14.0.1.1.0
OCA-git-bot Jun 3, 2023
d2f9919
Update translation files
weblate Jun 3, 2023
4344e35
[UPD] Update l10n_br_delivery.pot
Jun 16, 2023
cd9e87f
Update translation files
weblate Jun 16, 2023
b46d287
[UPD] Update l10n_br_delivery.pot
Aug 10, 2023
b9fd25d
Update translation files
weblate Aug 10, 2023
e5e83b7
[UPD] Update l10n_br_delivery.pot
Aug 11, 2023
4cfcf0b
Update translation files
weblate Aug 11, 2023
3b80b4f
[FIX] Removed wrong ondelete attribute for carrier_id
renatonlima Aug 17, 2023
f4ea7be
l10n_br_delivery 14.0.1.2.0
OCA-git-bot Aug 18, 2023
7e80d34
[UPD] README.rst
OCA-git-bot Sep 3, 2023
d861326
[UPD] Update l10n_br_delivery.pot
Sep 14, 2023
ea06183
Update translation files
weblate Sep 19, 2023
2ef2cac
[REF] l10n_br_delivery: rename fiscal mixin
antoniospneto Jul 7, 2023
60f69b9
[UPD] Update l10n_br_delivery.pot
Oct 3, 2023
ec5b978
[BOT] post-merge updates
OCA-git-bot Oct 3, 2023
fd9d9fa
Update translation files
weblate Oct 9, 2023
4d09f66
[REF] l10n_br_delivery: Remove empty Lines, necessary for the new ver…
mbcosta Oct 25, 2023
506ed76
[BOT] post-merge updates
OCA-git-bot Oct 27, 2023
9825e6a
[IMP] l10n_br_delivery: pre-commit execution
antoniospneto Sep 18, 2024
8b89145
[MIG] l10n_br_delivery: Migration to 15.0
antoniospneto Sep 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 160 additions & 0 deletions l10n_br_delivery/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
======================================
delivery module Brazilian Localization
======================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a42327d40a82670bd74fba8329ab1c5f0a9d5094b0523a19aee0433acc84d98b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-brazil/tree/15.0/l10n_br_delivery
:alt: OCA/l10n-brazil
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-brazil-15-0/l10n-brazil-15-0-l10n_br_delivery
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-brazil&target_branch=15.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Installation
============

This module depends on:

* l10n_br_sale_stock
* delivery
* delivery_carrier_partner

Configuration
=============

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

Usage
=====

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.

Known issues / Roadmap
======================

* Integrar o modulo com os metódos de calculo automáticos do modulo delivery, hoje o usuário deve informar a Transportadora e o valor do Frete é informado manualmente.

Changelog
=========

14.0.1.0.0 (2022-09-29)
~~~~~~~~~~~~~~~~~~~~~~~

* Migration.

12.0.1.0.0 (2021-08-28)
~~~~~~~~~~~~~~~~~~~~~~~

* Migration

8.0.1.0.0 (2021-01-06)
~~~~~~~~~~~~~~~~~~~~~~

* 1st version

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-brazil/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_delivery%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Akretion

Contributors
~~~~~~~~~~~~

* `Akretion <https://www.akretion.com/pt-BR>`_:

* Renato Lima <[email protected]>
* Magno Costa <[email protected]>

* `KMEE <https://www.kmee.com.br>`_:

* Diego Paradeda <[email protected]>
* Gabriel Cardoso de Faria <[email protected]>
* Luis Otavio Malta Conceição <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-renatonlima| image:: https://github.com/renatonlima.png?size=40px
:target: https://github.com/renatonlima
:alt: renatonlima
.. |maintainer-mbcosta| image:: https://github.com/mbcosta.png?size=40px
:target: https://github.com/mbcosta
:alt: mbcosta

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-renatonlima| |maintainer-mbcosta|

This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/15.0/l10n_br_delivery>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_br_delivery/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
36 changes: 36 additions & 0 deletions l10n_br_delivery/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright (C) 2010 Renato Lima - Akretion
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "delivery module Brazilian Localization",
"license": "AGPL-3",
"author": "Akretion, Odoo Community Association (OCA)",
"maintainers": ["renatonlima", "mbcosta"],
"website": "https://github.com/OCA/l10n-brazil",
"version": "15.0.1.0.0",
"development_status": "Alpha",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eu diria que pode ser Beta, ja faz uns 10 anos que usamos em produçao...

"depends": [
"l10n_br_sale_stock",
"delivery",
"delivery_carrier_partner",
],
"data": [
# Data
"data/res_config_settings_data.xml",
"data/account_incoterms_data.xml",
# View
"views/delivery_carrier_views.xml",
"views/l10n_br_delivery_view.xml",
"views/sale_order_view.xml",
"views/account_incoterms_view.xml",
"views/stock_picking_view.xml",
# Security
"security/ir.model.access.csv",
],
"demo": [
"demo/l10n_br_delivery_demo.xml",
"demo/sale_order_demo.xml",
],
"category": "Localization",
"installable": True,
}
75 changes: 75 additions & 0 deletions l10n_br_delivery/data/account_incoterms_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<!-- TODO: Mapear os Tipos de Frete nos dados
MODFRETE_TRANSP = [
('0', '0 - Contratação do Frete por conta do Remetente (CIF)'),
('1', '1 - Contratação do Frete por conta do'
' destinatário/remetente (FOB)'),
('2', '2 - Contratação do Frete por conta de terceiros'),
('3', '3 - Transporte próprio por conta do remetente'),
('4', '4 - Transporte próprio por conta do destinatário'),
('9', '9 - Sem Ocorrência de transporte.'),
]

<record id="account.incoterm_EXW" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_FCA" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_FAS" model="account.incoterms">
<field name="freight_responsibility"></field>
</record> -->

<record id="account.incoterm_FOB" model="account.incoterms">
<field name="freight_responsibility">1</field>
</record>

<!--<record id="incoterm_CFR" model="account.incoterms">
<field name="freight_responsibility"></field>
</record> -->

<record id="account.incoterm_CIF" model="account.incoterms">
<field name="freight_responsibility">0</field>
</record>

<!--<record id="account.incoterm_CPT" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_CIP" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_DAF" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_DES" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_DEQ" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_DDU" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_DAT" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_DAP" model="account.incoterms">
<field name="freight_responsibility"></field>
</record>

<record id="account.incoterm_DDP" model="account.incoterms">
<field name="freight_responsibility"></field>
</record> -->

</odoo>
15 changes: 15 additions & 0 deletions l10n_br_delivery/data/res_config_settings_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="l10n_br_delivery_config_settings" model="res.config.settings">
<field name="group_display_incoterm">True</field>
</record>

<function model="res.config.settings" name="execute">
<value
model="res.config.settings"
search="[('id', '=', ref('l10n_br_delivery_config_settings'))]"
/>
</function>

</odoo>
Loading
Loading