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

[8.0] NF-E 4.0 #607

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9c0fed1
Included option to select new NFe 4.00 layout.
mbcosta Jun 5, 2018
3297d44
Included NFe 4.00 PySPED imports.
mbcosta Jun 5, 2018
6969661
Normalize filds with non ASCII characters.
mbcosta Jun 5, 2018
abd7376
Included fields refer to 'Informações de Pagamento' to the new layout…
mbcosta Jun 6, 2018
89cb11c
Update field indPres to the new layout of NFe 4.00 .
mbcosta Jun 7, 2018
822177a
Included field to allow inform Inscrições Estaduais to other states d…
mbcosta Jan 17, 2018
6df665f
Configure tag IEST to NFe.
mbcosta Jan 17, 2018
e592811
Included access rules for object other.inscricoes.estaduais .
mbcosta Jan 19, 2018
34e858f
[FIX] SQL constraint and code for other.inscricoes.estaduais .
mbcosta Jan 19, 2018
6d91ef7
Included tests for object other.inscricoes.estaduais .
mbcosta Jan 19, 2018
34afa38
[IMP] Melhorias na forma de pagamento p/ nf-e 4.0
mileo Jul 23, 2018
46788ad
[REM] type_nf_payment do account.invoice
mileo Jul 23, 2018
70be82a
[REF] Do campo indPag para formatação snake case
mileo Jul 23, 2018
136e3d4
[NEW] Dados de pagamento e cobranca
mileo Jul 23, 2018
4edb19d
[NEW] Dados de pagamento e cobrança na invoice
mileo Jul 23, 2018
f17d57b
[NEW] Troco dos pagamentos
mileo Jul 23, 2018
5f9f938
[NEW] Serialização multiplos pagamentos, cobranças e troco
mileo Jul 23, 2018
1506ceb
[REF] Melhorias nos campos do vOrig vDesc vLiq
mileo Aug 2, 2018
24533ae
[NEW] Motor de lançamento contábil baseado nos pagamentos da nf-e 4.0
mileo Aug 2, 2018
1dd6c5d
[NEW]Adicao de condição de pagamento na categoria fiscal
sadamo Aug 2, 2018
19a3ede
[NEW]Permissions for account.invoice.payment model
sadamo Aug 2, 2018
597417c
[WIP]Criação automatica de dados do pagamento
sadamo Aug 2, 2018
3be0ff6
[NEW] Permissões de acesso do acccount.invoice.payment.line
mileo Aug 2, 2018
1aa6225
[FIX] Onchange fiscal ref a pagamento
mileo Aug 2, 2018
47f25c5
[NEW] Criação de pagamentos ao confirmar
mileo Aug 2, 2018
e4dc624
[FIX] correcao account_product
atillaSilva Aug 7, 2018
24b5c07
[FIX] view account_payment_term_id
mileo Aug 8, 2018
b8d8c05
[REM] Modelagem obsoleta
mileo Aug 8, 2018
55438a8
[FIX] Compute dos totais dos pagamentos
mileo Aug 9, 2018
67d90c4
[REF] SEM GTIN só esta disponível no próximo pacote de liberação
mileo Aug 10, 2018
dd6b685
[REF] date and parent field of account invoice payment
mileo Aug 15, 2018
0051a9e
[NEW] Forma de pagamento na venda
mileo Aug 15, 2018
947edfb
[REF] Dados de pagamento da invoice
mileo Aug 17, 2018
5f645eb
[IMP] Melhorias no parcelamento no módulo de vendas
mileo Aug 17, 2018
b33e51e
Merge branch '8.0' into 8.0-oca-nfe-4.0
mileo Aug 27, 2018
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
5 changes: 5 additions & 0 deletions l10n_br_account_product/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
'depends': [
'l10n_br_data_account',
'account_product_fiscal_classification',
'account_payment',
],
'data': [
'l10n_br_account_product_sequence.xml',
Expand All @@ -23,6 +24,7 @@
'data/l10n_br_account_product_data.xml',
'data/l10n_br_tax.icms_partition.csv',
'data/ir_cron.xml',
'data/account_payment_term_data.xml',
'views/l10n_br_account_product_view.xml',
'views/l10n_br_account_view.xml',
'views/l10n_br_account_product_view.xml',
Expand All @@ -35,6 +37,9 @@
'views/account_product_fiscal_classification_view.xml',
'views/product_view.xml',
'views/res_country_view.xml',
'views/account_payment_term_view.xml',
'views/account_invoice_payment.xml',
'views/account_invoice_payment_line.xml',
'wizard/l10n_br_account_nfe_export_invoice_view.xml',
'wizard/l10n_br_account_nfe_export_view.xml',
'wizard/l10n_br_account_document_status_sefaz_view.xml',
Expand Down
28 changes: 28 additions & 0 deletions l10n_br_account_product/data/account_payment_term_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 KMEE INFORMATICA LTDA
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->

<openerp>
<data>

<record id="account.account_payment_term_immediate" model="account.payment.term">
<field name="ind_forma_pagamento">0</field>
</record>

<record id="account.account_payment_term_15days" model="account.payment.term">
<field name="ind_forma_pagamento">1</field>
</record>

<record id="account.account_payment_term_net" model="account.payment.term">
<field name="ind_forma_pagamento">1</field>
</record>

<record id="l10n_br_account_payment_term_no_payment" model="account.payment.term">
<field name="name">Sem pagamento</field>
<field name="note">Sem pagamento</field>
<field name="ind_forma_pagamento">2</field>
<field name="forma_pagamento">90</field>
</record>

</data>
</openerp>
3 changes: 3 additions & 0 deletions l10n_br_account_product/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
from . import account
from . import product
from . import res_country
from . import account_invoice_term
from . import account_invoice_payment
from . import account_invoice_payment_line
8 changes: 0 additions & 8 deletions l10n_br_account_product/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT


class AccountPaymentTerm(models.Model):
_inherit = 'account.payment.term'

indPag = fields.Selection(
[('0', u'Pagamento à Vista'), ('1', u'Pagamento à Prazo'),
('2', 'Outros')], 'Indicador de Pagamento', default='1')


class AccountTaxTemplate(models.Model):
"""Implement computation method in taxes"""
_inherit = 'account.tax.template'
Expand Down
Loading