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 #3551

Draft
wants to merge 239 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
239 commits
Select commit Hold shift + click to select a range
26210b2
Adicionado módulo l10n_br_delivery dependende do modulo delivery do a…
renatonlima Aug 31, 2010
bc19a04
atualizando o commit anterior
renatonlima Aug 31, 2010
8996aea
Removido o campo weight_net do objeto stock.picking do modulo l10n_br…
renatonlima Sep 8, 2010
880c338
Incluido o campo Descontar imposto para os impostos que são incluidos…
renatonlima Sep 28, 2010
9e76ba1
concertado a visões herdadas do modulo stock
renatonlima Oct 14, 2010
df2aa78
[REF] extracted l10n_br_base, l10n_sale and l10n_stock from l10n_br; …
rvalyi Oct 25, 2010
4c57f81
Módulo l10n_br_delivery: Alterado o campo volume para number_of_packa…
renatonlima Oct 28, 2010
589a0df
Acertada visão do modulo l10n_br_delivery
renatonlima Oct 28, 2010
31ecc87
Adicionado integração com NFe v2.00 feita através de arquivos XML ou …
renatonlima Nov 29, 2010
0e7a9e2
Atualização das rotinas NFe, para tirar acentuações, e informar os ca…
renatonlima Nov 30, 2010
98c3950
Corrigido a classe vehicle do modulo l10n_br_delivery
renatonlima Dec 3, 2010
8b10aa2
Adicionado customizações nos calculos dos tributos e beneficios fisca…
renatonlima Dec 9, 2010
a0ad6a7
Adicionado o campo amount_freight no objeto account.invoice do modulo…
renatonlima Jan 10, 2011
2e7205c
l10n_br_delivery - Adicionado campos Tipo do Frete, Veículo, Total do…
renatonlima Jan 14, 2011
0bec410
l10n_br_account - Adicionado o regime tributário na empresa (exigido …
renatonlima Jan 24, 2011
0a15421
Alteração para permitir um pedido de venda, separação e nota fiscal o…
renatonlima Feb 3, 2011
bde59c3
l10n_br_stock, concertado bug ao criar nota fiscal apartir do picking
renatonlima Feb 4, 2011
f12e623
l10n_br_base - Filtro de CNPJ na visão de parceiros, adição da chave …
renatonlima Feb 28, 2011
2627d59
l10n_br_account - Resolução da nota fiscal de serviço.
renatonlima Apr 12, 2011
0503a15
[IMP] moved delivery data NFe validation to l10n_br_delivery so there…
rvalyi Apr 24, 2011
e5e59fe
Alterado o nome do campo city_id no objeto res.partner.address para l…
renatonlima May 9, 2011
095632c
Renomeado o campo city_id para o l10n_br_city_id no objeto l10n_br_ba…
renatonlima May 11, 2011
4892b1a
l10n_br_account: extendido o wizard do plano de contas para copiar o …
renatonlima May 17, 2011
8ddf1e0
removido o módulo l10n_br_fp_rule_sale_link, pois foi resolvido o pro…
renatonlima May 24, 2011
d614640
l10n_br_account: implementados filtros na visão da nota fiscal, de pr…
renatonlima Jun 10, 2011
5d65620
l10n_br_account alterada a rotina de nfe para pegar o valor do código…
renatonlima Jul 18, 2011
ddd9518
deixar explicito a licença da localização
renatonlima Jul 18, 2011
b8a9aa9
l10n_br_delivery corrigida visão herdada do l10n_br_account
renatonlima Sep 27, 2011
f9d93d0
l10n_br_account: alterada a visão dos dados adicionais da nota fiscal…
renatonlima Nov 14, 2011
66715a0
l10n_br_sale e l10n_br_delivery: Resolvido compatibilidade entre os m…
renatonlima Nov 15, 2011
97a2476
alterado comentários dos arquivos *.py e mudado estilo de codificação…
renatonlima Nov 23, 2011
f074c6b
Removido '\' do código
renatonlima Nov 23, 2011
8201c51
l10n_br_delivery corrigido importação
renatonlima Nov 23, 2011
92a4769
l10n_br_stock: Adicionado nas condições de entregas o campo de despes…
renatonlima Jan 26, 2012
05a96be
[REF] more empty lines removal
rvalyi Mar 18, 2012
f05962b
[IMP] l10n_br_delivery: do not blow out in case of missing fiscal par…
rvalyi Mar 22, 2012
cea9de4
l10n_br_delivery: limpeza e formatação do código
renatonlima Oct 30, 2012
d788442
Transferido os campos obrigatórios no documento fiscal implementado n…
renatonlima Nov 8, 2012
ea3e167
Transferido os campos obrigatórios no documento fiscal implementado n…
renatonlima Nov 8, 2012
f8d4da0
[FIX] l10n_br_delivery, l10n_br_account: adicionado filtro nas regras…
renatonlima Dec 12, 2012
d422801
[FIX] Alterado métodos de criação de nota fiscal no módulo l10n_br_de…
renatonlima Dec 14, 2012
247045f
[FIX] removed fiscal_operation_id field
renatonlima Dec 18, 2012
58942ca
formatação do código PEP8
renatonlima Jan 29, 2013
04e48c4
[MIGR] migração do modulo l10n_br_delivery
renatonlima Feb 6, 2013
c44d7b5
[MIGR] trocadas chaves update_xml, init_xml por data e demo_xml por d…
renatonlima Feb 11, 2013
be7e740
[MERGE] migração do módulo l10n_br_data_delivery para versão 7.0
renatonlima Apr 16, 2013
06be6a8
[FIX] rotina de validação da NFe do módulo l10n_br_delivery
renatonlima May 25, 2013
d0c2797
Alterado o nome de alguns módulos para deixar mais legível
renatonlima Aug 30, 2013
c6873ec
Adicionado arquivos de tradução vazios pt_BR.po para evitar mensagens…
renatonlima Dec 12, 2013
6fb6078
Atualização das versões dos módulos
renatonlima Dec 12, 2013
b734b6b
[REF] Refatorado aquivos no módulo l10n_br_delivery
renatonlima Dec 13, 2013
8aa2e0d
[REF] Refatorado aquivos de visões no módulo l10n_br_delivery
renatonlima Dec 13, 2013
fa14383
[MIG] Migração do desconto e frete na branch develop, arquivos do l10…
mileo Jan 20, 2014
ee720c8
Revert "[MIG] Frete e desconto l10n_br_account"
mileo Jan 20, 2014
0f1cb09
[FIX][REF] PEP8 class name, linha removida incorretamente
mileo Jan 20, 2014
2a0d751
[FIX] Class name
mileo Jan 20, 2014
4f55ae3
[FIX] Alguns refactoring para concertar a geração da fatura quando nã…
renatonlima Jan 25, 2014
5e2f42c
[FIX] corrigido nome da classe errado
renatonlima Jan 27, 2014
391c42c
Corrigido erros de digitação e adicionado traduções aos módulos
danimaribeiro Mar 12, 2014
e3087e1
Inicio da extração dos campos e métodos do módulo l10n_br_sale para o…
renatonlima Mar 15, 2014
84ce805
Inicio da extração dos campos e métodos do módulo l10n_br_delivery pa…
renatonlima Mar 15, 2014
c874903
Extraido métodos do módulo l10n_br_delivery para o novo módulo l10n_b…
renatonlima Mar 15, 2014
1814cf6
Movido objetos herdados da empresa do módulo l10n_br_delivery para o …
renatonlima Mar 15, 2014
e26223e
Concluído a criação do módulo l10n_br_sale_product
renatonlima Mar 15, 2014
8b9f888
Adicionados arquivos README.md para descrição dos módulos
renatonlima Oct 22, 2014
5d458e0
[MIGRATION] initial commit to new branch 8.0 before migration
renatonlima Oct 22, 2014
b35728d
[MOV] move addons out of __unported__ (they remain not installable)
sbidoul Oct 13, 2015
cdcd8ba
[FIX] CamelCase Classes
mileo Nov 15, 2015
07aeef6
[REF] Removing active tag from __openerp__.py
mileo Nov 15, 2015
68586b8
[FIX] PEP8
mileo Nov 15, 2015
6cddc2d
update metadata info
renatonlima Oct 27, 2014
e9c6129
migrate stock.picking object and view to new API
renatonlima Oct 27, 2014
519b1c4
migrate delivery.carrier to new API
renatonlima Oct 30, 2014
a2452c6
migrate all objects in l10n_br_delivery.py to new API
renatonlima Oct 30, 2014
e8cb512
migrate all objects in sale.py to new API
renatonlima Oct 30, 2014
3248125
migrate all objects in stock.py to new API
renatonlima Oct 30, 2014
f0c017d
migrate stock objects
renatonlima Jan 14, 2015
7db8210
[FIX] import
renatonlima Jan 14, 2015
7218bda
Added api
renatonlima Jan 14, 2015
7cab9d2
fix self.user to self.env.user
renatonlima Jan 14, 2015
bbc8b3a
fix stock.move and stock.picking objects
renatonlima Jan 14, 2015
21d1df2
removed debug
renatonlima Jan 14, 2015
b4b2cf8
migrate method to new api
renatonlima Mar 11, 2015
f6bb055
moved models and views to a folder as new pattern and replace uncodin…
renatonlima Mar 11, 2015
a6429e4
pep8 hopefully cleared
rvalyi Oct 22, 2015
6194e86
Modificado interface dos transportes, criado onchange para setar os c…
danimaribeiro Oct 9, 2015
cc78ffb
[MIG] Migration l10n_br_delivery.py and stock.py
mileo Dec 17, 2015
3ccbfe2
[MIG] Migrate to new api delivery_set
mileo Dec 17, 2015
3cad959
[FIX] Args delivery _get_invoice_line_vals
mileo Dec 17, 2015
192418d
[FIX] delivery UserError
mileo Dec 26, 2015
f11e38b
pep8
renatonlima May 19, 2016
23198cb
chaged README file
renatonlima May 19, 2016
e050743
update author and version
renatonlima May 19, 2016
7b715fc
[REF] methods in stock.picking
renatonlima May 19, 2016
633cab7
[REF] Replace tabs with spaces
mileo Jul 19, 2016
91e5901
lighter new style OCA license headers
rvalyi Aug 15, 2016
3b16f74
[REF] change view in l10n_br_delivery
renatonlima Aug 25, 2016
774e337
[MIG] Make modules uninstallable
renatonlima Dec 2, 2016
950b952
[MIG] Rename manifest files
renatonlima Dec 6, 2016
14c4982
[ADD] Freight apportionment
gabrielcardoso21 Nov 10, 2020
ccc9d85
[REF] Remove no longer used files and set v8 -> v12
DiegoParadeda Nov 10, 2020
56db076
[ADD] Disable add delivery line from sale.order and stock.picking
DiegoParadeda Nov 10, 2020
ad69a1c
[FIX] Runtime error
gabrielcardoso21 Nov 10, 2020
b8e98f0
[FIX] Version and headers
DiegoParadeda Dec 4, 2020
8ed7cf1
[FIX] Flake 8
DiegoParadeda Dec 4, 2020
6c53e48
[REM] Commented code
gabrielcardoso21 Dec 8, 2020
f4c4161
[ADD] Inverse function for other costs
gabrielcardoso21 Dec 8, 2020
0f1e7d9
[ADD] Inverse function for insurance value
gabrielcardoso21 Dec 8, 2020
421b87b
[FIX] l10n_delivery manifest
luismalta Dec 8, 2020
02c0ec4
[ADD] README files
luismalta Dec 8, 2020
e9cad94
[IMP] Update values on save
gabrielcardoso21 Dec 9, 2020
543bf46
[ADD] l10n_br_delivey tests
luismalta Dec 9, 2020
0656f93
[FIX] amount_insurance and amount_costs readonly
luismalta Dec 9, 2020
0568849
[FIX] Picking state on test
luismalta Dec 10, 2020
5bcb5e0
[IMP] New test cases
luismalta Dec 10, 2020
1083cfc
[IMP] l10n_br_delivery test cases and performance
luismalta Dec 10, 2020
d60bf8d
[UPD] Update l10n_br_delivery.pot
oca-travis Dec 14, 2020
a3c56ff
[UPD] README.rst
OCA-git-bot Dec 14, 2020
b8be60c
[ADD] icon.png
OCA-git-bot Dec 14, 2020
c8bd6f4
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 17, 2020
888cc6b
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 17, 2020
71ab256
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Dec 18, 2020
345b079
[UPD] Update l10n_br_delivery.pot
oca-travis Feb 22, 2021
b42be9f
[REF] l10n_br_delivery: compute fields, methods, tests and views to u…
renatonlima Mar 8, 2021
ce39a36
l10n_br_delivery: rename costs_value to other_value
renatonlima Mar 10, 2021
fa714e3
[UPD] Update l10n_br_delivery.pot
oca-travis Mar 26, 2021
ba241cb
l10n_br_delivery 12.0.2.0.0
OCA-git-bot Mar 26, 2021
ad9f88f
rename amount_gross to amount_price_gross in l10n_br_delivery tests
renatonlima Apr 14, 2021
5c99d12
l10n_br_delivery 12.0.3.0.0
OCA-git-bot Apr 15, 2021
4ef2291
[ADD] l10n_br_delivery migration 12.0.1.0.0
renatonlima May 26, 2021
7bdb144
[REF] Standard OCA website l10n_br_delivery
mileo May 30, 2021
97ac526
[ADD] Carrier infos
renatonlima Jan 4, 2021
4f4bf4e
[MOV] Moved fields Freight, Insurance and Other Costs to l10n_br_sale…
mbcosta Apr 16, 2021
f0da710
[IMP] Demo data.
mbcosta Apr 19, 2021
19f5e4a
[REM] Delivery Costs in Fiscal Document should be made by wizard Rati…
mbcosta Apr 19, 2021
37d21e4
[IMP] Test case where delivery costs Insurance, Freight and Other Cos…
mbcosta Apr 19, 2021
9181b79
[FIX] Put back objects l10n_br_delivery.carrier.vehicle and l10n_br_d…
mbcosta Apr 19, 2021
166cb41
[FIX] PEP8 and test.
mbcosta Apr 19, 2021
678d205
[REF] l10n_br_delivery objects
renatonlima Apr 24, 2021
9399a8d
[REF] split file by objects
renatonlima Apr 24, 2021
276019b
[IMP] Included field for amount weight and volume in sale order.
mbcosta Apr 27, 2021
432bd0f
[FIX] Delivery module has dependency on Sale, this one from Account.
mbcosta May 19, 2021
dd802a9
[IMP] Information fiscal of freight responsibility can be defined in …
mbcosta May 19, 2021
69ee62a
[IMP] Included fields to be able to used at inherit objects.
mbcosta May 19, 2021
5affbdf
[FIX] Incoterm at sale.order is not defined with standard field name …
mbcosta May 19, 2021
f58c661
[IMP] Included incoterm at stock picking view.
mbcosta May 19, 2021
a809f30
[IMP] Defined to show Incoterm at Sale Order and Invoice.
mbcosta May 19, 2021
689d83a
[IMP] Demo data.
mbcosta May 19, 2021
511cbc9
[FIX] Flake8.
mbcosta May 19, 2021
5a31506
pylint fixes
rvalyi May 20, 2021
8154cd0
[FIX] API definition don't needed.
mbcosta May 21, 2021
8dbf520
[REF] Changed method Delivery Price to get value from amount_freight_…
mbcosta May 21, 2021
7b0776f
[FIX+REF] In the tests product should have picking done to create inv…
mbcosta May 21, 2021
c65b7a3
[FIX] Pre commit.
mbcosta Jun 10, 2021
0065ba5
[FIX] Weight field refers to Gross Weight.
mbcosta Aug 18, 2021
48ecb1f
[REF] Included dependecy of module delivery_carrier_partner, less cod…
mbcosta Aug 20, 2021
6e92ad1
[REF] Standard name of files.
mbcosta Aug 20, 2021
728eb2b
[FIX] Amount Freight informed has preference over value calculate.
mbcosta Aug 20, 2021
77c360a
[REM][WIP] The implementation of Shipment information should be made …
mbcosta Aug 23, 2021
3f99b80
[REF] Relation between Vehicle and Delivery Carrier.
mbcosta Aug 23, 2021
35ffe9a
[IMP] Demo data.
mbcosta Aug 23, 2021
3fea60c
[FIX] Depends modules.
mbcosta Aug 23, 2021
87c9a2e
[UPD] Update l10n_br_delivery.pot
oca-travis Aug 24, 2021
b034273
[UPD] README.rst
OCA-git-bot Aug 24, 2021
cdd3b6e
[FIX] Standard name to City field.
mbcosta Aug 24, 2021
c1d109a
[UPD] Update l10n_br_delivery.pot
oca-travis Aug 24, 2021
c55bb34
[FIX] incorterm_id in _shadowed_fields in l10n_br_delivery fixes #1596
rvalyi Aug 28, 2021
f5dccf9
[UPD] Update l10n_br_delivery.pot
oca-travis Aug 30, 2021
532b5da
fix demo data
antoniospneto Oct 3, 2021
9e29214
[IMP] l10n_br_delivery: pre-commit
marcelsavegnago Dec 31, 2021
2c53967
[UPD] Update l10n_br_delivery.pot
oca-travis Jan 4, 2022
65f4a58
[UPD] README.rst
OCA-git-bot Jan 4, 2022
070a95e
[IMP] l10n_br_delivery: black, isort, prettier
marcelsavegnago May 30, 2022
88dd090
[MIG] l10n_br_delivery: Migration to 14.0
marcelsavegnago Jul 14, 2022
bf239e2
[MIG] l10n_br_delivery: Demo Data and Tests.
mbcosta Sep 29, 2022
edc21fb
[MIG] l10n_br_delivery: Show field Carrier to user can choose the Tra…
mbcosta Sep 29, 2022
8a6f957
[UPD] l10n_br_delivery: Update README files.
mbcosta Sep 29, 2022
604c9f5
[REF] l10n_br_delivery: Remove unnecessary parameter.
mbcosta Sep 30, 2022
81df19d
[REF] l10n_br_delivery: Vehicle View.
mbcosta Oct 10, 2022
fde24f3
[UPD] l10n_br_delivery: Readme files.
mbcosta Oct 10, 2022
6379f89
[UPD] Update l10n_br_delivery.pot
Oct 11, 2022
4b4e34d
[UPD] README.rst
OCA-git-bot Oct 11, 2022
afbb1ce
[UPD] Update l10n_br_delivery.pot
Oct 18, 2022
6fdcbb0
Update translation files
weblate Oct 18, 2022
2e787b8
[IMP] l10n_br_delivery: force the distribution of the freight value o…
marcelsavegnago Oct 14, 2022
c07fc80
[REF] Context better using kwargs l10n_br_delivery
mileo Oct 21, 2022
3120466
[REF] attribute-string-redundant l10n_br_delivery
mileo Oct 21, 2022
519df84
[REF] xml-deprecated-tree-attribute l10n_br_delivery
mileo Oct 21, 2022
5a747c3
[UPD] Update l10n_br_delivery.pot
Oct 22, 2022
9d8c6c2
l10n_br_delivery 14.0.1.0.1
OCA-git-bot Oct 22, 2022
3247ab2
Update translation files
weblate Oct 22, 2022
5ba7303
Translated using Weblate (Portuguese (Brazil))
douglascstd Nov 23, 2022
4600c5a
Translated using Weblate (Portuguese (Brazil))
douglascstd Dec 7, 2022
6de97be
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
baad5eb
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
13cf505
[UPD] Update l10n_br_delivery.pot
Feb 4, 2023
df0755e
Update translation files
weblate Feb 4, 2023
84c8588
[UPD] Update l10n_br_delivery.pot
Mar 1, 2023
435b190
Update translation files
weblate Mar 1, 2023
600a08f
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 29, 2023
3df9a3b
[IMP] added proxy field for _inject_shadowed_fields
rvalyi May 21, 2023
a4d042a
[UPD] Update l10n_br_delivery.pot
Jun 3, 2023
185d3cb
l10n_br_delivery 14.0.1.1.0
OCA-git-bot Jun 3, 2023
f2adf3f
Update translation files
weblate Jun 3, 2023
d5630c5
[UPD] Update l10n_br_delivery.pot
Jun 16, 2023
0aa43ea
Update translation files
weblate Jun 16, 2023
4bdd410
[UPD] Update l10n_br_delivery.pot
Aug 10, 2023
d048dbd
Update translation files
weblate Aug 10, 2023
746a143
[UPD] Update l10n_br_delivery.pot
Aug 11, 2023
d044774
Update translation files
weblate Aug 11, 2023
3047f77
[FIX] Removed wrong ondelete attribute for carrier_id
renatonlima Aug 17, 2023
601a58b
l10n_br_delivery 14.0.1.2.0
OCA-git-bot Aug 18, 2023
2a992d8
[UPD] README.rst
OCA-git-bot Sep 3, 2023
0c66135
[UPD] Update l10n_br_delivery.pot
Sep 14, 2023
9e9b2fb
Update translation files
weblate Sep 19, 2023
85fd4bf
[REF] l10n_br_delivery: rename fiscal mixin
antoniospneto Jul 7, 2023
944120a
[UPD] Update l10n_br_delivery.pot
Oct 3, 2023
5e94e7b
[BOT] post-merge updates
OCA-git-bot Oct 3, 2023
ce7755d
Update translation files
weblate Oct 9, 2023
179626b
[REF] l10n_br_delivery: Remove empty Lines, necessary for the new ver…
mbcosta Oct 25, 2023
41d8b5a
[BOT] post-merge updates
OCA-git-bot Oct 27, 2023
31416b7
[FIX] l10n_br_delivery: active company
antoniospneto May 17, 2024
c5cdedf
[BOT] post-merge updates
OCA-git-bot May 18, 2024
f79e642
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago May 23, 2024
8c35a3a
[IMP] l10n_br_delivery: rename proxy fields to avoid conflicts
marcelsavegnago Aug 27, 2024
896cbdc
[UPD] Update l10n_br_delivery.pot
Aug 27, 2024
42b438f
[BOT] post-merge updates
OCA-git-bot Aug 27, 2024
44755f3
Update translation files
weblate Aug 27, 2024
115e30e
[FIX] l10n_br_delivery: Fix fields have the same label
marcelsavegnago Aug 28, 2024
995ee60
[UPD] Update l10n_br_delivery.pot
Aug 29, 2024
3291f50
[BOT] post-merge updates
OCA-git-bot Aug 29, 2024
3a0bf0b
Update translation files
weblate Aug 29, 2024
7b89efd
[REF] l10n_br_delivery: fiscal_document* rename
rvalyi Aug 31, 2024
caae18a
[BOT] post-merge updates
OCA-git-bot Sep 10, 2024
fd2001d
[REF] pre-commit changes
antoniospneto Sep 8, 2024
d3e9941
[BOT] post-merge updates
OCA-git-bot Sep 18, 2024
6f3fef5
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Sep 26, 2024
db84023
[IMP] l10n_br_delivery: black, isort, prettier
antoniospneto Dec 17, 2024
d8490ba
[MIG] l10n_br_delivery: Migration to 15.0
antoniospneto Dec 17, 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
155 changes: 155 additions & 0 deletions l10n_br_delivery/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
======================================
delivery module Brazilian Localization
======================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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*.

**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": "Beta",
"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