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