Merge lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour into lp:openerp.pt-br-localiz/6.1

Proposed by Vinicius Dittgen - Proge.com.br
Status: Needs review
Proposed branch: lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour
Merge into: lp:openerp.pt-br-localiz/6.1
Diff against target: 3479 lines (+3258/-59)
18 files modified
l10n_br/__init__.py (+24/-0)
l10n_br/__openerp__.py (+69/-0)
l10n_br/account.py (+150/-0)
l10n_br/account_view.xml (+114/-0)
l10n_br/data/account.account.template.csv (+639/-0)
l10n_br/data/account.account.type.csv (+7/-0)
l10n_br/data/account.tax.code.template.csv (+11/-0)
l10n_br/data/account_tax_template.xml (+755/-0)
l10n_br/data/l10n_br_account_chart_template.xml (+27/-0)
l10n_br/data/l10n_br_data.xml (+673/-0)
l10n_br/i18n/l10n_br.pot (+170/-0)
l10n_br/i18n/pt_BR.po (+188/-0)
l10n_br/l10n_br.py (+84/-0)
l10n_br/l10n_br_view.xml (+80/-0)
l10n_br/security/ir.model.access.csv (+3/-0)
l10n_br_account/account.py (+197/-56)
l10n_br_account/account_invoice.py (+66/-2)
l10n_br_sale/sale.py (+1/-1)
To merge this branch: bzr merge lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour
Reviewer Review Type Date Requested Status
Renato Lima - http://www.akretion.com Needs Resubmitting
Review via email: mp+104653@code.launchpad.net

Description of the change

Add tax_add,tax_retain and tax_include behavior. Can support service invoices with retained taxes.
fix price_subtotal calc in invoice, and tax calc in sale order for tax_add type(like ipi).

To post a comment you must log in.
Revision history for this message
Alexandre Leitão (alexandre-leitao) wrote :
Download full text (12.3 KiB)

Vinicius,

Este merge resolve o caso da retenção do ir, confins e etc pra notas de serviço?

Atenciosamente,
Alexandre Leitão

Em 03/05/2012, às 20:40, "Vinicius Dittgen - Proge.com.br" <email address hidden> escreveu:

> Vinicius Dittgen - Proge.com.br has proposed merging lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour into lp:openerp.pt-br-localiz.
>
> Requested reviews:
> OpenERP Brazil Core Team (openerp-brazil-core-team)
>
> For more details, see:
> https://code.launchpad.net/~vdittgen/openerp.pt-br-localiz/tax_application_behaviour/+merge/104653
>
> Add tax_add,tax_retain and tax_include behavior. Can support service invoices with retained taxes.
> fix price_subtotal calc in invoice, and tax calc in sale order for tax_add type(like ipi).
> --
> https://code.launchpad.net/~vdittgen/openerp.pt-br-localiz/tax_application_behaviour/+merge/104653
> Your team OpenERP Brazil Team is subscribed to branch lp:openerp.pt-br-localiz.
> === added directory 'l10n_br' === added file 'l10n_br/__init__.py' --- l10n_br/__init__.py 1970-01-01 00:00:00 +0000 +++ l10n_br/__init__.py 2012-05-03 23:39:20 +0000 @@ -0,0 +1,24 @@ +# -*- encoding: utf-8 -*- +################################################################################# +# # +# Copyright (C) 2009 Renato Lima - Akretion # +# # +#This program is free software: you can redistribute it and/or modify # +#it under the terms of the GNU Affero General Public License as published by # +#the Free Software Foundation, either version 3 of the License, or # +#(at your option) any later version. # +# # +#This program is distributed in the hope that it will be useful, # +#but WITHOUT ANY WARRANTY; without even the implied warranty of # +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +#GNU General Public License for more details. # +# # +#You should have received a copy of the GNU General Public License # +#along with this program. If not, see . # +################################################################################# + +import account +import l10n_br + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + === added file 'l10n_br/__openerp__.py' --- l10n_br/__openerp__.py 1970-01-01 00:00:00 +0000 +++ l10n_br/__openerp__.py 2012-05-03 23:39:20 +0000 @@ -0,0 +1,69 @@ +# -*- encoding: utf-8 -*- +################################################################################# +# +# Copyright (C) 2009 Renato Lima - Akretion +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +################################################################################# + +{ + 'name': 'Bra...

Revision history for this message
Vinicius Dittgen - Proge.com.br (vdittgen) wrote :
Download full text (13.5 KiB)

Sim Alexandre, ele faz os lançamentos de débito e crédito dos impostos
retidos, já que estes são pagos pelo cliente.

2012/5/3, Alexandre Leitão <email address hidden>:
> Vinicius,
>
> Este merge resolve o caso da retenção do ir, confins e etc pra notas de
> serviço?
>
> Atenciosamente,
> Alexandre Leitão
>
> Em 03/05/2012, às 20:40, "Vinicius Dittgen - Proge.com.br"
> <email address hidden> escreveu:
>
>> Vinicius Dittgen - Proge.com.br has proposed merging
>> lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour into
>> lp:openerp.pt-br-localiz.
>>
>> Requested reviews:
>> OpenERP Brazil Core Team (openerp-brazil-core-team)
>>
>> For more details, see:
>> https://code.launchpad.net/~vdittgen/openerp.pt-br-localiz/tax_application_behaviour/+merge/104653
>>
>> Add tax_add,tax_retain and tax_include behavior. Can support service
>> invoices with retained taxes.
>> fix price_subtotal calc in invoice, and tax calc in sale order for tax_add
>> type(like ipi).
>> --
>> https://code.launchpad.net/~vdittgen/openerp.pt-br-localiz/tax_application_behaviour/+merge/104653
>> Your team OpenERP Brazil Team is subscribed to branch
>> lp:openerp.pt-br-localiz.
>> === added directory 'l10n_br' === added file 'l10n_br/__init__.py' ---
>> l10n_br/__init__.py 1970-01-01 00:00:00 +0000 +++
>> l10n_br/__init__.py 2012-05-03 23:39:20 +0000 @@ -0,0 +1,24 @@ +# -*-
>> encoding: utf-8 -*-
>> +#################################################################################
>> +# # +# Copyright (C) 2009 Renato Lima - Akretion # +# # +#This program is
>> free software: you can redistribute it and/or modify # +#it under the
>> terms of the GNU Affero General Public License as published by # +#the
>> Free Software Foundation, either version 3 of the License, or # +#(at your
>> option) any later version. # +# # +#This program is distributed in the
>> hope that it will be useful, # +#but WITHOUT ANY WARRANTY; without even
>> the implied warranty of # +#MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE. See the # +#GNU General Public License for more details. # +# #
>> +#You should have received a copy of the GNU General Public License #
>> +#along with this program. If not, see . #
>> +#################################################################################
>> + +import account +import l10n_br + +#
>> vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + ===
>> added file 'l10n_br/__openerp__.py' --- l10n_br/__openerp__.py 1970-01-01
>> 00:00:00 +0000 +++ l10n_br/__openerp__.py 2012-05-03 23:39:20 +0000 @@
>> -0,0 +1,69 @@ +# -*- encoding: utf-8 -*-
>> +#################################################################################
>> +# +# Copyright (C) 2009 Renato Lima - Akretion +# +# This program is free
>> software: you can redistribute it and/or modify +# it under the terms of
>> the GNU Affero General Public License as published by +# the Free Software
>> Foundation, either version 3 of the License, or +# (at your option) any
>> later version. +# +# This program is distributed in the hope that it will
>> be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty
>> of +# MERCHANTABILITY or F...

Revision history for this message
Vinicius Dittgen - Proge.com.br (vdittgen) wrote :
Download full text (13.5 KiB)

Aliás, ele faz retenção de qualquer imposto, basta marcar como imposto
retido na configuração da taxa.

2012/5/3, Alexandre Leitão <email address hidden>:
> Vinicius,
>
> Este merge resolve o caso da retenção do ir, confins e etc pra notas de
> serviço?
>
> Atenciosamente,
> Alexandre Leitão
>
> Em 03/05/2012, às 20:40, "Vinicius Dittgen - Proge.com.br"
> <email address hidden> escreveu:
>
>> Vinicius Dittgen - Proge.com.br has proposed merging
>> lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour into
>> lp:openerp.pt-br-localiz.
>>
>> Requested reviews:
>> OpenERP Brazil Core Team (openerp-brazil-core-team)
>>
>> For more details, see:
>> https://code.launchpad.net/~vdittgen/openerp.pt-br-localiz/tax_application_behaviour/+merge/104653
>>
>> Add tax_add,tax_retain and tax_include behavior. Can support service
>> invoices with retained taxes.
>> fix price_subtotal calc in invoice, and tax calc in sale order for tax_add
>> type(like ipi).
>> --
>> https://code.launchpad.net/~vdittgen/openerp.pt-br-localiz/tax_application_behaviour/+merge/104653
>> Your team OpenERP Brazil Team is subscribed to branch
>> lp:openerp.pt-br-localiz.
>> === added directory 'l10n_br' === added file 'l10n_br/__init__.py' ---
>> l10n_br/__init__.py 1970-01-01 00:00:00 +0000 +++
>> l10n_br/__init__.py 2012-05-03 23:39:20 +0000 @@ -0,0 +1,24 @@ +# -*-
>> encoding: utf-8 -*-
>> +#################################################################################
>> +# # +# Copyright (C) 2009 Renato Lima - Akretion # +# # +#This program is
>> free software: you can redistribute it and/or modify # +#it under the
>> terms of the GNU Affero General Public License as published by # +#the
>> Free Software Foundation, either version 3 of the License, or # +#(at your
>> option) any later version. # +# # +#This program is distributed in the
>> hope that it will be useful, # +#but WITHOUT ANY WARRANTY; without even
>> the implied warranty of # +#MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE. See the # +#GNU General Public License for more details. # +# #
>> +#You should have received a copy of the GNU General Public License #
>> +#along with this program. If not, see . #
>> +#################################################################################
>> + +import account +import l10n_br + +#
>> vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + ===
>> added file 'l10n_br/__openerp__.py' --- l10n_br/__openerp__.py 1970-01-01
>> 00:00:00 +0000 +++ l10n_br/__openerp__.py 2012-05-03 23:39:20 +0000 @@
>> -0,0 +1,69 @@ +# -*- encoding: utf-8 -*-
>> +#################################################################################
>> +# +# Copyright (C) 2009 Renato Lima - Akretion +# +# This program is free
>> software: you can redistribute it and/or modify +# it under the terms of
>> the GNU Affero General Public License as published by +# the Free Software
>> Foundation, either version 3 of the License, or +# (at your option) any
>> later version. +# +# This program is distributed in the hope that it will
>> be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty
>> of +# MERCHANTABILITY or FITNESS FOR A P...

Revision history for this message
Fabio Negrini (fnegrini) wrote :
Download full text (14.3 KiB)

E faz o controle automático conforme a regra dos 5000,00 por período?
Considera o tipo do fornecedor nesta regra? ex.: Simples nacional não retém.

> Aliás, ele faz retenção de qualquer imposto, basta marcar como imposto
> retido na configuração da taxa.
>
> 2012/5/3, Alexandre Leitão <email address hidden>:
> > Vinicius,
> >
> > Este merge resolve o caso da retenção do ir, confins e etc pra notas de
> > serviço?
> >
> > Atenciosamente,
> > Alexandre Leitão
> >
> > Em 03/05/2012, às 20:40, "Vinicius Dittgen - Proge.com.br"
> > <email address hidden> escreveu:
> >
> >> Vinicius Dittgen - Proge.com.br has proposed merging
> >> lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour into
> >> lp:openerp.pt-br-localiz.
> >>
> >> Requested reviews:
> >> OpenERP Brazil Core Team (openerp-brazil-core-team)
> >>
> >> For more details, see:
> >> https://code.launchpad.net/~vdittgen/openerp.pt-br-
> localiz/tax_application_behaviour/+merge/104653
> >>
> >> Add tax_add,tax_retain and tax_include behavior. Can support service
> >> invoices with retained taxes.
> >> fix price_subtotal calc in invoice, and tax calc in sale order for tax_add
> >> type(like ipi).
> >> --
> >> https://code.launchpad.net/~vdittgen/openerp.pt-br-
> localiz/tax_application_behaviour/+merge/104653
> >> Your team OpenERP Brazil Team is subscribed to branch
> >> lp:openerp.pt-br-localiz.
> >> === added directory 'l10n_br' === added file 'l10n_br/__init__.py' ---
> >> l10n_br/__init__.py 1970-01-01 00:00:00 +0000 +++
> >> l10n_br/__init__.py 2012-05-03 23:39:20 +0000 @@ -0,0 +1,24 @@ +# -*-
> >> encoding: utf-8 -*-
> >> +##########################################################################
> #######
> >> +# # +# Copyright (C) 2009 Renato Lima - Akretion # +# # +#This program is
> >> free software: you can redistribute it and/or modify # +#it under the
> >> terms of the GNU Affero General Public License as published by # +#the
> >> Free Software Foundation, either version 3 of the License, or # +#(at your
> >> option) any later version. # +# # +#This program is distributed in the
> >> hope that it will be useful, # +#but WITHOUT ANY WARRANTY; without even
> >> the implied warranty of # +#MERCHANTABILITY or FITNESS FOR A PARTICULAR
> >> PURPOSE. See the # +#GNU General Public License for more details. # +# #
> >> +#You should have received a copy of the GNU General Public License #
> >> +#along with this program. If not, see . #
> >> +##########################################################################
> #######
> >> + +import account +import l10n_br + +#
> >> vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + ===
> >> added file 'l10n_br/__openerp__.py' --- l10n_br/__openerp__.py
> 1970-01-01
> >> 00:00:00 +0000 +++ l10n_br/__openerp__.py 2012-05-03 23:39:20 +0000 @@
> >> -0,0 +1,69 @@ +# -*- encoding: utf-8 -*-
> >> +##########################################################################
> #######
> >> +# +# Copyright (C) 2009 Renato Lima - Akretion +# +# This program is free
> >> software: you can redistribute it and/or modify +# it under the terms of
> >> the GNU Affero General Public License as published by +# the ...

Revision history for this message
Alexandre Leitão (alexandre-leitao) wrote :

Valeu meu caroŠ vai me ajudar muito!!!!

Alexandre Leitão, Owner
OpenERP Ready Partner
Tel: (011) 3744-3170 | Mobile: (011) 8435-7021
www.infonetware.com.br <http://www.infonetware.com.br/>

On 04/05/12 11:02, "Vinicius Dittgen - Proge.com.br"
<email address hidden> wrote:

>onfiguração da tax

Revision history for this message
Vinicius Dittgen - Proge.com.br (vdittgen) wrote :
Download full text (16.1 KiB)

Fabio,

  Este merge altera o cadastro do imposto para que seja possível ter
impostos retidos e que seus lançamentos sejam feitos da forma correta.

  Sobre a alteração das alíquotas no momento da venda levando em conta os
parâmetros de *pagamentos do cliente recebido no mês* e *tipo fiscal do
cliente* deve ser feita manualmente via posição fiscal. Provavelmente
iremos estender o módulo de regra de posição fiscal para que use a posição
correta baseado nesses parâmetros.

  Neste momento já é possível lançar impostos retidos, a escolhas das
alíquotas é manual.

abs

2012/5/4 Fabio Negrini <email address hidden>

> E faz o controle automático conforme a regra dos 5000,00 por período?
> Considera o tipo do fornecedor nesta regra? ex.: Simples nacional não
> retém.
>
> > Aliás, ele faz retenção de qualquer imposto, basta marcar como imposto
> > retido na configuração da taxa.
> >
> > 2012/5/3, Alexandre Leitão <email address hidden>:
> > > Vinicius,
> > >
> > > Este merge resolve o caso da retenção do ir, confins e etc pra notas de
> > > serviço?
> > >
> > > Atenciosamente,
> > > Alexandre Leitão
> > >
> > > Em 03/05/2012, às 20:40, "Vinicius Dittgen - Proge.com.br"
> > > <email address hidden> escreveu:
> > >
> > >> Vinicius Dittgen - Proge.com.br has proposed merging
> > >> lp:~vdittgen/openerp.pt-br-localiz/tax_application_behaviour into
> > >> lp:openerp.pt-br-localiz.
> > >>
> > >> Requested reviews:
> > >> OpenERP Brazil Core Team (openerp-brazil-core-team)
> > >>
> > >> For more details, see:
> > >> https://code.launchpad.net/~vdittgen/openerp.pt-br-
> > localiz/tax_application_behaviour/+merge/104653
> > >>
> > >> Add tax_add,tax_retain and tax_include behavior. Can support service
> > >> invoices with retained taxes.
> > >> fix price_subtotal calc in invoice, and tax calc in sale order for
> tax_add
> > >> type(like ipi).
> > >> --
> > >> https://code.launchpad.net/~vdittgen/openerp.pt-br-
> > localiz/tax_application_behaviour/+merge/104653
> > >> Your team OpenERP Brazil Team is subscribed to branch
> > >> lp:openerp.pt-br-localiz.
> > >> === added directory 'l10n_br' === added file 'l10n_br/__init__.py' ---
> > >> l10n_br/__init__.py 1970-01-01 00:00:00 +0000 +++
> > >> l10n_br/__init__.py 2012-05-03 23:39:20 +0000 @@ -0,0 +1,24 @@ +# -*-
> > >> encoding: utf-8 -*-
> > >>
> +##########################################################################
> > #######
> > >> +# # +# Copyright (C) 2009 Renato Lima - Akretion # +# # +#This
> program is
> > >> free software: you can redistribute it and/or modify # +#it under the
> > >> terms of the GNU Affero General Public License as published by # +#the
> > >> Free Software Foundation, either version 3 of the License, or # +#(at
> your
> > >> option) any later version. # +# # +#This program is distributed in the
> > >> hope that it will be useful, # +#but WITHOUT ANY WARRANTY; without
> even
> > >> the implied warranty of # +#MERCHANTABILITY or FITNESS FOR A
> PARTICULAR
> > >> PURPOSE. See the # +#GNU General Public License for more details. #
> +# #
> > >> +#You should have received a copy of the GNU General Public License #
> > >> +#along with this program. If not, see . ...

Revision history for this message
Fabio Negrini (fnegrini) wrote :

Vinícius,

Obrigado pelo esclarecimento e parabéns pela iniciativa.

Abs

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Ola Vinicius,

primeiro obrigado por levar esse assunto de vola na localizaçao.

A gente olhou (alias ja tinha olhado nas branches de voces) um pouco com o Renato e tem coisas que a gente viu que sao bem e outras que a gente tem algumas duvidas (sera se todos os flags de taxas sao requiridos mesmo?).

Tecnicamente, teria que fazer uma coisa antes do merge: que seria, levar o modulo l10n_br de volta (caso os flags realmente forem necessarios) e depois fazer o commit da alteraçao de voces.

Inclusive, isso é uma coisa que da par debater, porque levando o modulo l10n_br de vola aqui, a gente vai ter o problema que o modulo esta em dobro e que os usuarios nao conseguem instalar o nao instalam a versao certa, como era no fim de 2011. So para lembrar, levou 5 meses para a OpenERP SA fazer o merge da atualizaçao do l10n_br dentro dos addons, entao a gente tem que tomar cuidado para nao soffrer de novo esse tipo de situaçao.

Finalemente, quando voce fizer um pach desse, é totalmente legitimo voce incluir os seus copyrights no arquivo python que mudaram. Agora, a respeito de adicionar a Proge como autor do modulo assim como a Akretion, a gente acha que ainda é precipitado. No sentido do que hoje a Proge fez apenas 1% dos commits enquanto a Akretion fez 90% ( https://www.ohloh.net/p/openerpbrasil/analyses/latest ).
A gente nao vai exigir voces fazer a metade para poder ter esse tipo de visibilidade, mas a gente acha que deveria ser que nem fizemos com o Magentoerpconnect (onde a CampToCamp chegou 2 anos depois mas virou core-editor tambem) e botar o limite perto de 25% o que e bastante razoavel e abre o jogo. A gente vai mandar um email esse final de semana para formalizar essas regras. Na verdade o % vai baixando de accordo com o numero de "core-editors" (com 3 core-editors o limite seria 33.33%/2 = 16.66% dos commits) , a gente depois passara a regra que a gente quer applicar nesse projeto.

Hoje temos bastante trabalho, mas amanha a gente comença a dar perspetiva para poder integrar essa melhoria.

Novamente, nossos parabens por começar a contribuir ao projeto da localizaçao. Precisa de mais gente sujando a mao assim para isso avançar mais rapidamente.

Revision history for this message
Vinicius Dittgen - Proge.com.br (vdittgen) wrote :
Download full text (3.6 KiB)

Oi Raphael,

A gente olhou (alias ja tinha olhado nas branches de voces) um pouco com o
> Renato e tem coisas que a gente viu que sao bem e outras que a gente tem
> algumas duvidas (sera se todos os flags de taxas sao requiridos mesmo?).
>

As flags tornam a parametrização mais fácil e natural.

>
> Tecnicamente, teria que fazer uma coisa antes do merge: que seria, levar o
> modulo l10n_br de volta (caso os flags realmente forem necessarios) e
> depois fazer o commit da alteraçao de voces.
>

Exatamente, na nossa Branch eu fiz isto, ontem a noite acabei pulando esta
etapa, mas se chegarmos em um acordo sobre as modificações eu proponho o
merge novamente fazendo o revert da exclusão do l10n_br.

>
> Inclusive, isso é uma coisa que da par debater, porque levando o modulo
> l10n_br de vola aqui, a gente vai ter o problema que o modulo esta em dobro
> e que os usuarios nao conseguem instalar o nao instalam a versao certa,
> como era no fim de 2011. So para lembrar, levou 5 meses para a OpenERP SA
> fazer o merge da atualizaçao do l10n_br dentro dos addons, entao a gente
> tem que tomar cuidado para nao soffrer de novo esse tipo de situaçao.
>

Sabemos disso, por isso temos que retornar o l10n_br para a localização, é
complicado sempre termos que aguardar a OpenERP SA para qualquer
modificação, acho que é muito ruim depender deles se queremos que a coisa
realmente funcione.

É bom que eles tenham aquele l10n_br básico para testes simples, mas o
módulo oficial ter que estar sob o nosso controle já que eles não tem
nenhuma agilidade.

>
> Finalemente, quando voce fizer um pach desse, é totalmente legitimo voce
> incluir os seus copyrights no arquivo python que mudaram. Agora, a respeito
> de adicionar a Proge como autor do modulo assim como a Akretion, a gente
> acha que ainda é precipitado. No sentido do que hoje a Proge fez apenas 1%
> dos commits enquanto a Akretion fez 90% (
> https://www.ohloh.net/p/openerpbrasil/analyses/latest ).
> A gente nao vai exigir voces fazer a metade para poder ter esse tipo de
> visibilidade, mas a gente acha que deveria ser que nem fizemos com o
> Magentoerpconnect (onde a CampToCamp chegou 2 anos depois mas virou
> core-editor tambem) e botar o limite perto de 25% o que e bastante razoavel
> e abre o jogo. A gente vai mandar um email esse final de semana para
> formalizar essas regras. Na verdade o % vai baixando de accordo com o
> numero de "core-editors" (com 3 core-editors o limite seria 33.33%/2 =
> 16.66% dos commits) , a gente depois passara a regra que a gente quer
> applicar nesse projeto.
>

Concordo não pensei muito sobre o fato já que tinha a "OpenERP Brasil" como
co-autor, realmente no momento somos contribuidores do módulo e acho justo
atingir o percentual que tu sugere para se tornar co-autor.

>
> Hoje temos bastante trabalho, mas amanha a gente comença a dar perspetiva
> para poder integrar essa melhoria.
>

Ótimo.

>
> Novamente, nossos parabens por começar a contribuir ao projeto da
> localizaçao. Precisa de mais gente sujando a mao assim para isso avançar
> mais rapidamente.
>

Grato, precisamos aprovar este merge para seguir contribuindo nesta Branch,
estas modificações são importantes par...

Read more...

Revision history for this message
Renato Lima - http://www.akretion.com (renatonlima) wrote :

Vinicius,

Como conversado nas mensagens anteriores, o l10n_br devemos manté-lo no addons para não dificultar a instalação e posteriormente o desenvolvimento já que teria que também um l10n_br no addons e outro na localização, então sugiro algumas mudanças:

1. Não incluir o módulo l10n_br na branch da localização;
2. Deixa o comportamento e o flag já implementando de tax_discount;
3. Deixar somente o desenvolvimento no calculo de impostos retidos.

Futuramente podemos tratar do item 2, até porque existe a possibilidade de colocarmos no core do OpenERP um flag com a função do tax_discount e remover isso da localização

review: Needs Resubmitting

Unmerged revisions

316. By Vinicius Dittgen - Proge.com.br

Add tax_add,tax_retain and tax_include behavior, support to service invoices.
fix price_subtotal calc in invoice, and tax calc in sale order.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'l10n_br'
2=== added file 'l10n_br/__init__.py'
3--- l10n_br/__init__.py 1970-01-01 00:00:00 +0000
4+++ l10n_br/__init__.py 2012-05-03 23:39:20 +0000
5@@ -0,0 +1,24 @@
6+# -*- encoding: utf-8 -*-
7+#################################################################################
8+# #
9+# Copyright (C) 2009 Renato Lima - Akretion #
10+# #
11+#This program is free software: you can redistribute it and/or modify #
12+#it under the terms of the GNU Affero General Public License as published by #
13+#the Free Software Foundation, either version 3 of the License, or #
14+#(at your option) any later version. #
15+# #
16+#This program is distributed in the hope that it will be useful, #
17+#but WITHOUT ANY WARRANTY; without even the implied warranty of #
18+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
19+#GNU General Public License for more details. #
20+# #
21+#You should have received a copy of the GNU General Public License #
22+#along with this program. If not, see <http://www.gnu.org/licenses/>. #
23+#################################################################################
24+
25+import account
26+import l10n_br
27+
28+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
29+
30
31=== added file 'l10n_br/__openerp__.py'
32--- l10n_br/__openerp__.py 1970-01-01 00:00:00 +0000
33+++ l10n_br/__openerp__.py 2012-05-03 23:39:20 +0000
34@@ -0,0 +1,69 @@
35+# -*- encoding: utf-8 -*-
36+#################################################################################
37+#
38+# Copyright (C) 2009 Renato Lima - Akretion
39+#
40+# This program is free software: you can redistribute it and/or modify
41+# it under the terms of the GNU Affero General Public License as published by
42+# the Free Software Foundation, either version 3 of the License, or
43+# (at your option) any later version.
44+#
45+# This program is distributed in the hope that it will be useful,
46+# but WITHOUT ANY WARRANTY; without even the implied warranty of
47+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48+# GNU General Public License for more details.
49+#
50+# You should have received a copy of the GNU General Public License
51+# along with this program. If not, see <http://www.gnu.org/licenses/>.
52+#
53+#################################################################################
54+
55+{
56+ 'name': 'Brazilian - Accounting',
57+ 'category': 'Localization/Account Charts',
58+ 'description': """
59+Base module for the Brazilian localization
60+==========================================
61+
62+This module consists in:
63+
64+ - Generic Brazilian chart of accounts
65+ - Brazilian taxes such as:
66+
67+ - IPI
68+ - ICMS
69+ - PIS
70+ - COFINS
71+ - ISS
72+ - IR
73+ - IRPJ
74+ - CSLL
75+
76+ - Tax Situation Code (CST) required for the electronic fiscal invoicing (NFe)
77+
78+The field tax_discount has also been added in the account.tax.template and account.tax objects to allow the proper computation of some Brazilian VATs such as ICMS. The chart of account creation wizard has been extended to propagate those new data properly.
79+
80+It's important to note however that this module lack many implementations to use OpenERP properly in Brazil. Those implementations (such as the electronic fiscal Invoicing which is already operational) are brought by more than 15 additional modules of the Brazilian Launchpad localization project https://launchpad.net/openerp.pt-br-localiz and their dependencies in the extra addons branch. Those modules aim at not breaking with the remarkable OpenERP modularity, this is why they are numerous but small. One of the reasons for maintaining those modules apart is that Brazilian Localization leaders need commit rights agility to complete the localization as companies fund the remaining legal requirements (such as soon fiscal ledgers, accounting SPED, fiscal SPED and PAF ECF that are still missing as September 2011). Those modules are also strictly licensed under AGPL V3 and today don't come with any additional paid permission for online use of 'private modules'.""",
81+ 'license': 'AGPL-3',
82+ 'author': 'Akretion, PROGE, OpenERP Brasil',
83+ 'website': 'http://openerpbrasil.org',
84+ 'version': '0.6',
85+ 'depends': ['account','account_chart'],
86+ 'init_xml': [
87+ 'data/account.account.type.csv',
88+ 'data/account.tax.code.template.csv',
89+ 'data/account.account.template.csv',
90+ 'data/l10n_br_account_chart_template.xml',
91+ 'data/account_tax_template.xml',
92+ 'data/l10n_br_data.xml',
93+ 'security/ir.model.access.csv',
94+ ],
95+ 'update_xml': [
96+ 'account_view.xml',
97+ 'l10n_br_view.xml',
98+ ],
99+ 'installable': True,
100+ 'certificate' : '001280994939126801405',
101+}
102+
103+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
104
105=== added file 'l10n_br/account.py'
106--- l10n_br/account.py 1970-01-01 00:00:00 +0000
107+++ l10n_br/account.py 2012-05-03 23:39:20 +0000
108@@ -0,0 +1,150 @@
109+# -*- encoding: utf-8 -*-
110+#################################################################################
111+# #
112+# Copyright (C) 2009 Renato Lima - Akretion, Vinicius Dittgen - PROGE, Leonardo#
113+#Santagada - PROGE #
114+# #
115+#This program is free software: you can redistribute it and/or modify #
116+#it under the terms of the GNU Affero General Public License as published by #
117+#the Free Software Foundation, either version 3 of the License, or #
118+#(at your option) any later version. #
119+# #
120+#This program is distributed in the hope that it will be useful, #
121+#but WITHOUT ANY WARRANTY; without even the implied warranty of #
122+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
123+#GNU General Public License for more details. #
124+# #
125+#You should have received a copy of the GNU General Public License #
126+#along with this program. If not, see <http://www.gnu.org/licenses/>. #
127+#################################################################################
128+
129+import pooler
130+from osv import fields, osv
131+
132+_columns = {
133+ 'domain': fields.char('Domain', size=32, help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."),
134+ 'tax_discount': fields.boolean('Tax Discounted in Price', help="Mark it for (ICMS, PIS e etc.)."),
135+ 'tax_include': fields.boolean('Include the Tax Amount in Price', help="Mark it to include the Tax Amount in Price."),
136+ }
137+
138+
139+class account_tax_code_template(osv.osv):
140+ _inherit = 'account.tax.code.template'
141+ _columns = _columns
142+
143+account_tax_code_template()
144+
145+
146+class account_tax_code(osv.osv):
147+ _inherit = 'account.tax.code'
148+ _columns = _columns
149+
150+account_tax_code()
151+
152+
153+def change_digit_tax(cr):
154+ res = pooler.get_pool(cr.dbname).get('decimal.precision').precision_get(cr, 1, 'Account')
155+ return (16, res + 2)
156+
157+
158+_columns_tax = {
159+ 'tax_discount': fields.boolean('Tax Discounted in Price', help="Mark it for Brazilian legal Taxes(ICMS, PIS e etc.)."),
160+ 'tax_add': fields.boolean('Add the Tax Amount in Price', help="Mark it to add the Tax Amount in Price."),
161+ 'tax_include': fields.boolean('Include the Tax Amount in Price', help="Mark it to include the Tax Amount in Price."),
162+ 'tax_retain': fields.boolean('Discount the Tax Amount in Price', help="Mark it to for clients who retain the Taxes."),
163+ 'base_reduction': fields.float('Redution', required=True, digits_compute=change_digit_tax, help="Um percentual decimal em % entre 0-1."),
164+ 'amount_mva': fields.float('MVA Percent', required=True, digits_compute=change_digit_tax, help="Um percentual decimal em % entre 0-1."),
165+ 'type': fields.selection([('percent', 'Percentage'), ('fixed', 'Fixed Amount'),
166+ ('none', 'None'), ('code', 'Python Code'),
167+ ('balance', 'Balance'), ('quantity', 'Quantity')], 'Tax Type', required=True,
168+ help="The computation method for the tax amount."),
169+ }
170+
171+_defaults_tax = {
172+ 'base_reduction': 0,
173+ 'amount_mva': 0,
174+ }
175+
176+
177+class account_tax_common(object):
178+ tax_code_name = 'account.tax.code.template'
179+
180+ def onchange_tax_code_id(self, cr, uid, ids, tax_code_id, context=None):
181+ result = {'value': {}}
182+ if not tax_code_id:
183+ return result
184+
185+ tax_code = self.pool.get(self.tax_code_name).browse(cr, uid, tax_code_id)
186+ if tax_code:
187+ result['value']['tax_discount'] = tax_code.tax_discount
188+ result['value']['tax_include'] = tax_code.tax_include
189+ result['value']['domain'] = tax_code.domain
190+
191+ return result
192+
193+
194+class account_tax_template(account_tax_common, osv.osv):
195+ _inherit = 'account.tax.template'
196+ tax_code_name = 'account.tax.code.template'
197+ _columns = _columns_tax
198+ _defaults = _defaults_tax
199+
200+account_tax_template()
201+
202+
203+class account_tax(account_tax_common, osv.osv):
204+ _inherit = 'account.tax'
205+ tax_code_name = 'account.tax.code'
206+ _columns = _columns_tax
207+ _defaults = _defaults_tax
208+
209+account_tax()
210+
211+
212+class wizard_multi_charts_accounts(osv.osv_memory):
213+ _inherit = 'wizard.multi.charts.accounts'
214+
215+ def execute(self, cr, uid, ids, context=None):
216+ super(wizard_multi_charts_accounts, self).execute(cr, uid, ids, context)
217+
218+ obj_multi = self.browse(cr, uid, ids[0])
219+ obj_tax = self.pool.get('account.tax')
220+ obj_tax_tmp = self.pool.get('account.tax.template')
221+ obj_tax_code = self.pool.get('account.tax.code')
222+ obj_tax_code_tmp = self.pool.get('account.tax.code.template')
223+ obj_cst = self.pool.get('l10n_br_account.cst')
224+ obj_cst_tmp = self.pool.get('l10n_br_account.cst.template')
225+
226+ # Creating Account
227+ tax_code_root_id = obj_multi.chart_template_id.tax_code_root_id.id
228+ company_id = obj_multi.company_id.id
229+
230+ child_tax_code_temp_ids = obj_tax_code_tmp.search(cr, uid, [('parent_id', 'child_of', [tax_code_root_id])], order='id')
231+ child_tax_code_temp_ids.sort()
232+ for tax_code_template in obj_tax_code_tmp.browse(cr, uid, child_tax_code_temp_ids, context=context):
233+ tax_code_id = obj_tax_code.search(cr, uid, [('code', '=', tax_code_template.code),
234+ ('company_id', '=', company_id)])
235+ if tax_code_id:
236+ obj_tax_code.write(cr, uid, tax_code_id, {'domain': tax_code_template.domain,
237+ 'notprintable': tax_code_template.notprintable,
238+ 'tax_discount': tax_code_template.tax_discount,
239+ 'tax_include': tax_code_template.tax_include})
240+
241+ cst_tmp_ids = obj_cst_tmp.search(cr, uid, [('tax_code_template_id', '=', tax_code_template.id)], order='id')
242+ for cst_tmp in obj_cst_tmp.browse(cr, uid, cst_tmp_ids, context=context):
243+ obj_cst.create(cr, uid, {'code': cst_tmp.code,
244+ 'name': cst_tmp.name,
245+ 'tax_code_id': tax_code_id[0]})
246+
247+ tax_ids = obj_tax_tmp.search(cr, uid, [])
248+ for tax_template in obj_tax_tmp.browse(cr, uid, tax_ids, context=context):
249+ tax_id = obj_tax.search(cr, uid, [('name', '=', tax_template.name)])
250+ if tax_template.id:
251+ obj_tax.write(cr, uid, tax_id, {'domain': tax_template.tax_code_id.domain,
252+ 'tax_discount': tax_template.tax_discount,
253+ 'price_include': tax_template.price_include,
254+ 'tax_add': tax_template.tax_add,
255+ 'tax_retain': tax_template.tax_retain,
256+ 'tax_include': tax_template.tax_include})
257+
258+wizard_multi_charts_accounts()
259
260=== added file 'l10n_br/account_view.xml'
261--- l10n_br/account_view.xml 1970-01-01 00:00:00 +0000
262+++ l10n_br/account_view.xml 2012-05-03 23:39:20 +0000
263@@ -0,0 +1,114 @@
264+<?xml version="1.0" encoding="utf-8"?>
265+<openerp>
266+ <data>
267+
268+ <!-- include domain field em account.tax.code and account.tax.code.template from -->
269+ <record model="ir.ui.view" id="view_l10n_br_accout_tax_code_form">
270+ <field name="name">l10n_br_account.tax.code.form</field>
271+ <field name="model">account.tax.code</field>
272+ <field name="inherit_id" ref="account.view_tax_code_form"/>
273+ <field name="arch" type="xml">
274+ <field position="after" name="parent_id">
275+ <field name="domain"/>
276+ <field name="tax_discount" />
277+ </field>
278+ </field>
279+ </record>
280+
281+ <record model="ir.ui.view" id="view_l10n_br_accout_tax_code_template_form">
282+ <field name="name">l10n_br_account.tax.code.template.form</field>
283+ <field name="model">account.tax.code.template</field>
284+ <field name="inherit_id" ref="account.view_tax_code_template_form"/>
285+ <field name="arch" type="xml">
286+ <field position="after" name="parent_id">
287+ <field name="domain"/>
288+ <field name="tax_discount" />
289+ </field>
290+ </field>
291+ </record>
292+
293+ <!-- Incluir o campo desconto do imposto -->
294+ <record model="ir.ui.view" id="view_l10n_br_account_tax_template_form">
295+ <field name="name">l10n_br_account.tax.template.form</field>
296+ <field name="model">account.tax.template</field>
297+ <field name="inherit_id" ref="account.view_account_tax_template_form"/>
298+ <field name="arch" type="xml">
299+ <field position="after" name="price_include">
300+ <field groups="base.group_extended" name="tax_discount"/>
301+ </field>
302+ </field>
303+ </record>
304+
305+ <record model="ir.ui.view" id="view_l10n_br_account_tax_form">
306+ <field name="name">l10n_br_account.tax.form</field>
307+ <field name="model">account.tax</field>
308+ <field name="inherit_id" ref="account.view_tax_form"/>
309+ <field name="arch" type="xml">
310+ <field position="after" name="price_include">
311+ <field groups="base.group_extended" name="tax_discount"/>
312+ </field>
313+ </field>
314+ </record>
315+
316+ <record model="ir.ui.view" id="view_l10n_br_account_tax_template_form1">
317+ <field name="name">l10n_br_account.tax.template.form1</field>
318+ <field name="model">account.tax.template</field>
319+ <field name="inherit_id" ref="account.view_account_tax_template_form"/>
320+ <field name="arch" type="xml">
321+ <field position="after" name="amount">
322+ <field groups="base.group_extended" name="base_reduction"/>
323+ <field groups="base.group_extended" name="amount_mva"/>
324+ </field>
325+ </field>
326+ </record>
327+
328+ <record model="ir.ui.view" id="view_l10n_br_account_tax_form1">
329+ <field name="name">l10n_br_account.tax.form1</field>
330+ <field name="model">account.tax</field>
331+ <field name="inherit_id" ref="account.view_tax_form"/>
332+ <field name="arch" type="xml">
333+ <field position="after" name="amount">
334+ <field groups="base.group_extended" name="base_reduction"/>
335+ <field groups="base.group_extended" name="amount_mva"/>
336+ </field>
337+ </field>
338+ </record>
339+
340+ <record model="ir.ui.view" id="view_l10n_br_account_tax_form2">
341+ <field name="name">l10n_br_account.tax.form2</field>
342+ <field name="model">account.tax</field>
343+ <field name="inherit_id" ref="account.view_tax_form"/>
344+ <field name="arch" type="xml">
345+ <field name="tax_code_id" position="replace" >
346+ <field name="tax_code_id" on_change="onchange_tax_code_id(tax_code_id)" />
347+ </field>
348+ </field>
349+ </record>
350+
351+ <record model="ir.ui.view" id="view_l10n_br_account_tax_template_form2">
352+ <field name="name">l10n_br_account.tax.template.form2</field>
353+ <field name="model">account.tax.template</field>
354+ <field name="inherit_id" ref="account.view_account_tax_template_form"/>
355+ <field name="arch" type="xml">
356+ <field name="tax_code_id" position="replace" >
357+ <field name="tax_code_id" on_change="onchange_tax_code_id(tax_code_id)" />
358+ </field>
359+ </field>
360+ </record>
361+
362+ <record id="view_l10n_br_journal_form_inherit" model="ir.ui.view">
363+ <field name="name">l10n_br.journal.form.inherit</field>
364+ <field name="model">account.journal</field>
365+ <field name="type">form</field>
366+ <field name="inherit_id" ref="account.view_account_journal_form"/>
367+ <field name="arch" type="xml">
368+ <field name="sequence_id" position="after">
369+ <field name="internal_sequence"/>
370+ </field>
371+ </field>
372+ </record>
373+
374+ </data>
375+
376+</openerp>
377+
378
379=== added directory 'l10n_br/data'
380=== added file 'l10n_br/data/account.account.template.csv'
381--- l10n_br/data/account.account.template.csv 1970-01-01 00:00:00 +0000
382+++ l10n_br/data/account.account.template.csv 2012-05-03 23:39:20 +0000
383@@ -0,0 +1,639 @@
384+"id","code","name","parent_id:id","type","user_type:id","reconcile"
385+"account_template_1","0","Plano de Contas Padrão",,"view","ativo","True"
386+"account_template_2","1","ATIVO","account_template_1","view","ativo","True"
387+"account_template_3","1.1","CIRCULANTE","account_template_2","view","ativo","True"
388+"account_template_4","1.1.01","DISPONIBILIDADES","account_template_3","view","ativo","True"
389+"account_template_5","1.1.01.01","CAIXA","account_template_4","view","ativo","True"
390+"account_template_6","1.1.01.01.0001","Caixa Geral","account_template_5","other","ativo","True"
391+"account_template_7","1.1.01.01.0002","Fundo Fixo","account_template_5","other","ativo","True"
392+"account_template_8","1.1.01.02","BANCOS ","account_template_4","view","ativo","True"
393+"account_template_9","1.1.01.02.0001","Banco C/ Movimento","account_template_8","other","ativo","True"
394+"account_template_10","1.1.01.03","VALORES MOBILIÁRIOS-MERC.CAP.INTERNOS","account_template_4","view","ativo","True"
395+"account_template_11","1.1.01.03.0001","Aplicações Nacionais","account_template_10","other","ativo","True"
396+"account_template_12","1.1.01.04","TITULOS DE CAPITALIZAÇÃO","account_template_4","view","ativo","True"
397+"account_template_13","1.1.01.04.0001","Banco Título de Capitalização","account_template_12","other","ativo","True"
398+"account_template_14","1.1.02","CRÉDITOS","account_template_3","view","ativo","True"
399+"account_template_15","1.1.02.01","CLIENTES NACIONAIS","account_template_14","view","ativo","True"
400+"account_template_16","1.1.02.01.0001","Clientes Nacionais","account_template_15","receivable","ativo","True"
401+"account_template_17","1.1.02.02","CLIENTES NO EXTERIOR","account_template_14","view","ativo","True"
402+"account_template_18","1.1.02.02.0001","Clientes Internacionais","account_template_17","receivable","ativo","True"
403+"account_template_19","1.1.02.03","OUTROS VALORES A RECEBER","account_template_14","view","ativo","True"
404+"account_template_20","1.1.02.03.0001","Outras Contas a Receber","account_template_19","receivable","ativo","True"
405+"account_template_21","1.1.02.04","DUPLICATAS CONTA VINCULADA","account_template_14","view","ativo","True"
406+"account_template_22","1.1.02.04.0001","Banco Conta Garantida","account_template_21","other","ativo","True"
407+"account_template_23","1.1.02.05","DUPLICATAS CAUCIONADAS","account_template_14","view","ativo","True"
408+"account_template_24","1.1.02.05.0001","Banco Conta Caucionada","account_template_23","other","ativo","True"
409+"account_template_25","1.1.02.06","CHEQUES DEVOLVIDOS","account_template_14","view","ativo","True"
410+"account_template_26","1.1.02.06.0001","Cheques Devolvidos","account_template_25","other","ativo","True"
411+"account_template_27","1.1.02.07","ADIANTAMENTOS","account_template_14","view","ativo","True"
412+"account_template_28","1.1.02.07.0002","Adiantamento de Salários","account_template_27","other","ativo","True"
413+"account_template_29","1.1.02.07.0003","Adiantamento Despesa de Viagem","account_template_27","other","ativo","True"
414+"account_template_30","1.1.02.07.0004","Adiantamento de Férias","account_template_27","other","ativo","True"
415+"account_template_31","1.1.02.07.0005","Adiantamento 13º Salário","account_template_27","other","ativo","True"
416+"account_template_32","1.1.02.07.0006","Adiantamento de Pro-Labore a Diretores","account_template_27","other","ativo","True"
417+"account_template_33","1.1.02.07.0001","Adiantamento de PIS a Empregados","account_template_27","other","ativo","True"
418+"account_template_34","1.1.02.08","ADIANTAMENTO A FORNECEDORES","account_template_14","view","ativo","True"
419+"account_template_35","1.1.02.08.0001","Adiantamento a Fornecedor","account_template_34","other","ativo","True"
420+"account_template_36","1.1.02.09","IMPOSTOS E CONTRIBUIÇÕES A RECUPERAR","account_template_14","view","ativo","True"
421+"account_template_37","1.1.02.09.0001","CSLL a Recuperar/Compensar","account_template_36","other","ativo","True"
422+"account_template_38","1.1.02.09.0002","CSLL a Compensar Lei 10.833/03","account_template_36","other","ativo","True"
423+"account_template_39","1.1.02.09.0003","COFINS a Recuperar/Compensar","account_template_36","other","ativo","True"
424+"account_template_40","1.1.02.09.0004","COFINS a Compensar Lei 10.833/03","account_template_36","other","ativo","True"
425+"account_template_41","1.1.02.09.0008","Crédito COFINS Não-Cumulativo","account_template_36","other","ativo","True"
426+"account_template_42","1.1.02.09.0009","ICMS a Recuperar","account_template_36","other","ativo","True"
427+"account_template_43","1.1.02.09.0010","ICMS a Recup. s/Ativo Imobilizado","account_template_36","other","ativo","True"
428+"account_template_44","1.1.02.09.0012","IPI a Recuperar/Compensar","account_template_36","other","ativo","True"
429+"account_template_45","1.1.02.09.0013","IPI a Compensar Pedido Restituição","account_template_36","other","ativo","True"
430+"account_template_46","1.1.02.09.0015","IRF s/Aplicações Financeiras","account_template_36","other","ativo","True"
431+"account_template_47","1.1.02.09.0016","IRRF a Recuperar/Compensar","account_template_36","other","ativo","True"
432+"account_template_48","1.1.02.09.0017","IRPJ a Recuperar/Compensar","account_template_36","other","ativo","True"
433+"account_template_49","1.1.02.09.0019","PIS a Recuperar/Compensar","account_template_36","other","ativo","True"
434+"account_template_50","1.1.02.09.0020","PIS a Compensar Lei 10.833/03","account_template_36","other","ativo","True"
435+"account_template_51","1.1.02.09.0022","PIS/COFINS/CSLL a Recuperar","account_template_36","other","ativo","True"
436+"account_template_52","1.1.02.09.0007","Crédito de PIS Não-Cumulativo","account_template_36","other","ativo","True"
437+"account_template_53","1.1.02.10","CRÉDITOS FISCAIS CSLL BASE CALC.NEGATIVA","account_template_14","view","ativo","True"
438+"account_template_54","1.1.02.10.0001","Base Negativa CSLL - Exerc. Anteriores","account_template_53","other","ativo","True"
439+"account_template_55","1.1.02.11","CRÉDITOS FISCAIS IRPJ-BASE CALC.NEGATIVA","account_template_14","view","ativo","True"
440+"account_template_56","1.1.02.11.0001","Base Negativa IRPJ - Exerc. Anteriores","account_template_55","other","ativo","True"
441+"account_template_57","1.1.03","ESTOQUES","account_template_3","view","ativo","True"
442+"account_template_58","1.1.03.01","ESTOQUE DE MERCADORIAS","account_template_57","view","ativo","True"
443+"account_template_59","1.1.03.01.0001","Insumos (Materiais Diretos)","account_template_58","other","ativo","True"
444+"account_template_60","1.1.03.01.0002","Material de Consumo-Almoxarifado","account_template_58","other","ativo","True"
445+"account_template_61","1.1.03.01.0003","Mercadorias para Revenda","account_template_58","other","ativo","True"
446+"account_template_62","1.1.03.01.0004","Produtos Acabados","account_template_58","other","ativo","True"
447+"account_template_63","1.1.03.01.0005","Produtos em Elaboração","account_template_58","other","ativo","True"
448+"account_template_64","1.1.03.02","(-) DEVOLUÇÕES DE COMPRAS","account_template_57","view","ativo","True"
449+"account_template_65","1.1.03.02.0001","Devoluções de Compras","account_template_64","other","ativo","True"
450+"account_template_66","1.1.03.03","TRANSFERÊNCIA DE MERCADORIAS","account_template_57","view","ativo","True"
451+"account_template_67","1.1.03.03.0001","Transferência de Mercadorias","account_template_66","other","ativo","True"
452+"account_template_68","1.1.03.04","ESTOQUE DE TERCEIROS EM NOSSO PODER","account_template_57","view","ativo","True"
453+"account_template_69","1.1.03.04.0001","Estoque de Terceiros em N/Poder","account_template_68","other","ativo","True"
454+"account_template_70","1.1.03.04.0002","Entrada P/Industrialização","account_template_68","other","ativo","True"
455+"account_template_71","1.1.03.04.0003","Entrada P/Conserto","account_template_68","other","ativo","True"
456+"account_template_72","1.1.03.04.0004","Entrada P/Demonstração","account_template_68","other","ativo","True"
457+"account_template_73","1.1.03.04.0005","Entrada P/Empréstimo","account_template_68","other","ativo","True"
458+"account_template_74","1.1.03.04.0006","Entrada em Consignação","account_template_68","other","ativo","True"
459+"account_template_75","1.1.03.04.0007","Entrada p/ Garantia","account_template_68","other","ativo","True"
460+"account_template_76","1.1.03.04.0008","Entrada p/ Locação","account_template_68","other","ativo","True"
461+"account_template_77","1.1.03.04.0009","Entrada em Comodato","account_template_68","other","ativo","True"
462+"account_template_78","1.1.03.05","NOSSO ESTOQUE EM PODER DE TERCEIROS","account_template_57","view","ativo","True"
463+"account_template_79","1.1.03.05.0001","N/Estoque em Poder de Terceiros","account_template_78","other","ativo","True"
464+"account_template_80","1.1.03.05.0002","Remessa P/Industrialização","account_template_78","other","ativo","True"
465+"account_template_81","1.1.03.05.0003","Remessa P/Conserto","account_template_78","other","ativo","True"
466+"account_template_82","1.1.03.05.0004","Remessa P/Demonstração","account_template_78","other","ativo","True"
467+"account_template_83","1.1.03.05.0005","Remessa P/Exposição","account_template_78","other","ativo","True"
468+"account_template_84","1.1.03.05.0006","Remessa P/Empréstimo","account_template_78","other","ativo","True"
469+"account_template_85","1.1.03.05.0007","Remessa em Consignação","account_template_78","other","ativo","True"
470+"account_template_86","1.1.03.05.0008","Remessa P/Locação","account_template_78","other","ativo","True"
471+"account_template_87","1.1.03.05.0009","Remessa em Garantia","account_template_78","other","ativo","True"
472+"account_template_88","1.1.03.06","(-) IMPOSTOS S/ESTOQUE DE TERCEIROS","account_template_57","view","ativo","True"
473+"account_template_89","1.1.03.06.0001","(-) ICMS s/Estoque de Terceiros","account_template_88","other","ativo","True"
474+"account_template_90","1.1.03.06.0002","(-) IPI s/Estoque de Terceiros","account_template_88","other","ativo","True"
475+"account_template_91","1.1.03.07","IMPORTAÇÕES EM ANDAMENTO","account_template_57","view","ativo","True"
476+"account_template_92","1.1.03.07.0001","D.I. nº 0000000-0 Importação","account_template_91","other","ativo","True"
477+"account_template_93","1.1.03.08","COMPRAS PARA ENTREGA FUTURA","account_template_57","view","ativo","True"
478+"account_template_94","1.1.03.08.0001","Compras p/Entrega Futura","account_template_93","other","ativo","True"
479+"account_template_95","1.1.04","DESPESAS DO EXERCÍCIO SEGUINTE","account_template_3","view","ativo","True"
480+"account_template_96","1.1.04.01","SEGUROS A APROPRIAR","account_template_95","view","ativo","True"
481+"account_template_97","1.1.04.01.0001","Seguros de Veículos","account_template_96","other","ativo","True"
482+"account_template_98","1.1.04.01.0002","Seguros Prédios/Bens/Estoques","account_template_96","other","ativo","True"
483+"account_template_99","1.1.04.01.0003","Seguros s/Lucros Cessantes","account_template_96","other","ativo","True"
484+"account_template_100","1.1.04.02","ASSINATURAS A APROPRIAR","account_template_95","view","ativo","True"
485+"account_template_101","1.1.04.02.0001","Assinaturas de Jornais/Boletins/Revistas","account_template_100","other","ativo","True"
486+"account_template_102","1.1.04.03","DESPESAS FINANCEIRAS A APROPRIAR","account_template_95","view","ativo","True"
487+"account_template_103","1.1.04.03.0001","Juros s/ Financiamentos a Apropriar","account_template_102","other","ativo","True"
488+"account_template_104","1.1.05","CONTAS RETIFICADORAS","account_template_3","view","ativo","True"
489+"account_template_105","1.1.05.01","(-) DUPLICATAS DESCONTADAS","account_template_104","view","ativo","True"
490+"account_template_106","1.1.05.01.0001","(-) Banco Conta - Duplicata Descontada","account_template_105","other","ativo","True"
491+"account_template_107","1.2","ATIVO NÃO CIRCULANTE","account_template_2","view","ativo","True"
492+"account_template_108","1.2.01","REALIZÁVEL A LONGO PRAZO","account_template_107","view","ativo","True"
493+"account_template_109","1.2.01.01","VALORES MOBILIÁRIOS-MERC.CAP.INTERNO","account_template_108","view","ativo","True"
494+"account_template_110","1.2.01.01.0001","Aplicações Nacionais","account_template_109","other","ativo","True"
495+"account_template_111","1.2.01.02","DÉBITOS DE SÓCIOS","account_template_108","view","ativo","True"
496+"account_template_112","1.2.01.02.0001","Sócio","account_template_111","other","ativo","True"
497+"account_template_113","1.2.01.03","EMPRÉSTIMOS A EMPRESAS LIGADAS","account_template_108","view","ativo","True"
498+"account_template_114","1.2.01.03.0001","Empresa Ligada","account_template_113","other","ativo","True"
499+"account_template_115","1.2.01.04","EMPRÉSTIMOS A TERCEIROS","account_template_108","view","ativo","True"
500+"account_template_116","1.2.01.04.0001","Empréstimo de Terceiros","account_template_115","other","ativo","True"
501+"account_template_117","1.2.01.05","DEPÓSITOS JUDICIAIS","account_template_108","view","ativo","True"
502+"account_template_118","1.2.01.05.0001","Depósitos Judiciais","account_template_117","other","ativo","True"
503+"account_template_119","1.2.02","INVESTIMENTOS","account_template_107","view","ativo","True"
504+"account_template_120","1.2.02.01","PARTICIPAÇÕES SOCIETÁRIAS","account_template_119","view","ativo","True"
505+"account_template_121","1.2.02.01.0001","Participação Societárias","account_template_120","other","ativo","True"
506+"account_template_122","1.2.03","IMOBILIZADO - MATRIZ","account_template_107","view","ativo","True"
507+"account_template_123","1.2.03.01","IMOBILIZADO","account_template_122","view","ativo","True"
508+"account_template_124","1.2.03.01.0001","Máquinas e Equipamentos ","account_template_123","other","ativo","True"
509+"account_template_125","1.2.03.01.0002","Terrenos","account_template_123","other","ativo","True"
510+"account_template_126","1.2.03.01.0003","Ferramentas","account_template_123","other","ativo","True"
511+"account_template_127","1.2.03.01.0004","Modelos, Moldes e Matrizes","account_template_123","other","ativo","True"
512+"account_template_128","1.2.03.01.0005","Móveis e Utensílios","account_template_123","other","ativo","True"
513+"account_template_129","1.2.03.01.0006","Veículos","account_template_123","other","ativo","True"
514+"account_template_130","1.2.03.01.0007","Equipamentos de Informática","account_template_123","other","ativo","True"
515+"account_template_131","1.2.03.01.0008","Instalações","account_template_123","other","ativo","True"
516+"account_template_132","1.2.03.01.0009","Benfeitoria em Imóveis de Terceiros","account_template_123","other","ativo","True"
517+"account_template_133","1.2.03.01.0010","Direito de Uso Linhas Telefônicas","account_template_123","other","ativo","True"
518+"account_template_134","1.2.03.01.0011","Edifícios e Construções","account_template_123","other","ativo","True"
519+"account_template_135","1.2.03.02","CONSTRUÇÕES EM ANDAMENTO","account_template_122","view","ativo","True"
520+"account_template_136","1.2.03.02.0001","Imóvel","account_template_135","other","ativo","True"
521+"account_template_137","1.2.03.04","PARTICIPAÇÃO EM CONSÓRCIOS","account_template_122","view","ativo","True"
522+"account_template_138","1.2.03.04.0001","Consórcio","account_template_137","other","ativo","True"
523+"account_template_139","1.2.03.05","(-) DEPRECIAÇÃO ACUMULADA","account_template_122","view","ativo","True"
524+"account_template_140","1.2.03.05.0001","Deprec.de Máquinas e Equipamentos","account_template_139","other","ativo","True"
525+"account_template_141","1.2.03.05.0002","Deprec.de Modelos, Moldes e Matrizes","account_template_139","other","ativo","True"
526+"account_template_142","1.2.03.05.0003","Deprec.de Móveis e Utensílios","account_template_139","other","ativo","True"
527+"account_template_143","1.2.03.05.0004","Deprec.de Veículos","account_template_139","other","ativo","True"
528+"account_template_144","1.2.03.05.0005","Deprec.de Equip.de Informática","account_template_139","other","ativo","True"
529+"account_template_145","1.2.03.05.0006","Deprec.de Instalações","account_template_139","other","ativo","True"
530+"account_template_146","1.2.03.05.0007","Deprec.de Ferramentas","account_template_139","other","ativo","True"
531+"account_template_147","1.2.03.05.0008","Deprec.de Edificações","account_template_139","other","ativo","True"
532+"account_template_148","1.2.03.06","(-) AMORTIZAÇÃO ACUMULADA","account_template_122","view","ativo","True"
533+"account_template_149","1.2.03.06.0001","Amortiz.Benfeit.em Imóveis de Terceiros","account_template_148","other","ativo","True"
534+"account_template_150","1.2.03.06.0002","Amortiz.Direito Uso Linhas Telefônica","account_template_148","other","ativo","True"
535+"account_template_151","1.2.03.07","ICMS S/IMOBILIZADO-PARCELA NÃO CREDITADA","account_template_122","view","ativo","True"
536+"account_template_152","1.2.03.07.0001","ICMS s/ Imobilizado parc. não creditável","account_template_151","other","ativo","True"
537+"account_template_153","1.2.03.07.0002","(-) Amortização ICMS não creditado","account_template_151","other","ativo","True"
538+"account_template_154","1.2.04","IMOBILIZADO - FILIAL","account_template_107","view","ativo","True"
539+"account_template_155","1.2.04.01","IMOBILIZADO","account_template_154","view","ativo","True"
540+"account_template_156","1.2.04.01.0001","Máquinas e Equipamentos","account_template_155","other","ativo","True"
541+"account_template_157","1.2.04.01.0002","Terrenos","account_template_155","other","ativo","True"
542+"account_template_158","1.2.04.01.0003","Ferramentas","account_template_155","other","ativo","True"
543+"account_template_159","1.2.04.01.0004","Edifícios","account_template_155","other","ativo","True"
544+"account_template_160","1.2.04.01.0005","Móveis e Utensílios","account_template_155","other","ativo","True"
545+"account_template_161","1.2.04.01.0006","Veículos","account_template_155","other","ativo","True"
546+"account_template_162","1.2.04.01.0007","Equipamentos de Informática","account_template_155","other","ativo","True"
547+"account_template_163","1.2.04.01.0008","Instalações","account_template_155","other","ativo","True"
548+"account_template_164","1.2.04.02","(-) DEPRECIAÇÃO ACUMULADA - FILIAL","account_template_154","view","ativo","True"
549+"account_template_165","1.2.04.02.0001","Deprec.de Máquinas e Equipamentos","account_template_164","other","ativo","True"
550+"account_template_166","1.2.04.02.0003","Deprec.de Móveis e Utensílios","account_template_164","other","ativo","True"
551+"account_template_167","1.2.04.02.0004","Deprec.de Veículos","account_template_164","other","ativo","True"
552+"account_template_168","1.2.04.02.0005","Deprec.de Equip.de Informática","account_template_164","other","ativo","True"
553+"account_template_169","1.2.04.02.0006","Deprec.de Instalações","account_template_164","other","ativo","True"
554+"account_template_170","1.2.04.02.0007","Deprec.de Ferramentas","account_template_164","other","ativo","True"
555+"account_template_171","1.2.04.02.0008","Deprec.de Edifícios","account_template_164","other","ativo","True"
556+"account_template_172","1.2.04.03","(-) AMORTIZAÇÃO ACUMULADA - FILIAL","account_template_154","view","ativo","True"
557+"account_template_173","1.2.04.03.0001","Amortização Acumulada","account_template_172","other","ativo","True"
558+"account_template_174","1.2.05","BENS INTAGÍVEIS - MATRIZ","account_template_107","view","ativo","True"
559+"account_template_175","1.2.05.01","INTANGÍVEL","account_template_174","view","ativo","True"
560+"account_template_176","1.2.05.01.0001","Marcas e Patentes","account_template_175","other","ativo","True"
561+"account_template_177","1.2.05.01.0002","Softwares","account_template_175","other","ativo","True"
562+"account_template_178","1.2.05.02","(-) AMORTIZAÇÃO DO INTANGÍVEL","account_template_174","view","ativo","True"
563+"account_template_179","1.2.05.02.0001","Amortiz.de Marcas e Patentes","account_template_178","other","ativo","True"
564+"account_template_180","1.2.05.02.0002","Amortização de Softwares","account_template_178","other","ativo","True"
565+"account_template_181","1.2.06","BENS INTANGÍVEIS - FILIAL","account_template_107","view","ativo","True"
566+"account_template_182","1.2.06.01","INTANGÍVEL","account_template_181","view","ativo","True"
567+"account_template_183","1.2.06.01.0001","Softwares","account_template_182","other","ativo","True"
568+"account_template_184","1.2.06.02","(-) AMORTIZAÇÃO DO INTANGÍVEL","account_template_181","view","ativo","True"
569+"account_template_185","1.2.06.02.0001","Amortização de Softwares","account_template_184","other","ativo","True"
570+"account_template_186","1.2.07","TRANSFERÊNCIAS DE ATIVO IMOBILIZADO","account_template_107","view","ativo","True"
571+"account_template_187","1.2.07.01","TRANSFERÊNCIA DE ATIVO IMOBILIZADO","account_template_186","view","ativo","True"
572+"account_template_188","1.2.07.01.0001","Transferência de Ativo Imobilizado","account_template_187","other","ativo","True"
573+"account_template_189","1.2.08","DIFERIDO","account_template_107","view","ativo","True"
574+"account_template_190","1.2.08.01","DESPESAS PRÉ-INDUSTRIAIS","account_template_189","view","ativo","True"
575+"account_template_191","1.2.08.01.0001","Gastos Gerais de Implantação","account_template_190","other","ativo","True"
576+"account_template_192","1.2.08.01.0002","(-) Amortização Acumulada","account_template_190","other","ativo","True"
577+"account_template_193","2","PASSIVO","account_template_1","view","passivo","True"
578+"account_template_194","2.1","CIRCULANTE","account_template_193","view","passivo","True"
579+"account_template_195","2.1.01","OBRIGAÇÕES A CURTO PRAZO","account_template_194","view","passivo","True"
580+"account_template_196","2.1.01.01","FINANCIAMENTOS A CURTO PRAZO - SFN","account_template_195","view","passivo","True"
581+"account_template_197","2.1.01.01.0001","Banco Conta Empréstimo","account_template_196","other","passivo","True"
582+"account_template_198","2.1.01.02","CHEQUES A COMPENSAR","account_template_195","view","passivo","True"
583+"account_template_199","2.1.01.02.0001","Banco Conta a Compensar","account_template_198","other","passivo","True"
584+"account_template_200","2.1.01.03","LIMITE DE CRÉDITO CHEQUE ESPECIAL","account_template_195","view","passivo","True"
585+"account_template_201","2.1.01.03.0001","Banco Conta Limite","account_template_200","other","passivo","True"
586+"account_template_202","2.1.02","FORNECEDORES ","account_template_194","view","passivo","True"
587+"account_template_203","2.1.02.01","FORNECEDORES NACIONAIS","account_template_202","view","passivo","True"
588+"account_template_204","2.1.02.01.0001","Fornecedores Nacionais","account_template_203","payable","passivo","True"
589+"account_template_205","2.1.02.02","FORNECEDORES ESTRANGEIROS","account_template_202","view","passivo","True"
590+"account_template_206","2.1.02.02.0001","Fornecedores Internacionais","account_template_205","payable","passivo","True"
591+"account_template_207","2.1.03","OBRIGAÇÕES TRABALHISTAS","account_template_194","view","passivo","True"
592+"account_template_208","2.1.03.01","FOLHA DE PAGAMENTO - EMPREGADOS","account_template_207","view","passivo","True"
593+"account_template_209","2.1.03.01.0001","Salários a Pagar","account_template_208","other","passivo","True"
594+"account_template_210","2.1.03.01.0002","Férias a Pagar","account_template_208","other","passivo","True"
595+"account_template_211","2.1.03.01.0003","Rescisões a Pagar","account_template_208","other","passivo","True"
596+"account_template_212","2.1.03.01.0004","13º Salário a Pagar","account_template_208","other","passivo","True"
597+"account_template_213","2.1.03.01.0005","Comissões a Pagar","account_template_208","other","passivo","True"
598+"account_template_214","2.1.03.02","PROVISÕES DE FÉRIAS E 13º SALÁRIO","account_template_207","view","passivo","True"
599+"account_template_215","2.1.03.02.0001","Provisão de Férias","account_template_214","other","passivo","True"
600+"account_template_216","2.1.03.02.0002","Provisão de INSS s/Férias","account_template_214","other","passivo","True"
601+"account_template_217","2.1.03.02.0003","Provisão de FGTS s/Férias","account_template_214","other","passivo","True"
602+"account_template_218","2.1.03.02.0004","Provisão de 13º Salário","account_template_214","other","passivo","True"
603+"account_template_219","2.1.03.02.0005","Provisão de INSS s/13º Salário","account_template_214","other","passivo","True"
604+"account_template_220","2.1.03.02.0006","Provisão FGTS s/13º Salário","account_template_214","other","passivo","True"
605+"account_template_221","2.1.03.03","FOLHA DE PAGAMENTO - AUTÔNOMOS","account_template_207","view","passivo","True"
606+"account_template_222","2.1.03.03.0001","Rendimentos a Pagar","account_template_221","other","passivo","True"
607+"account_template_223","2.1.03.04","FOLHA DE PAGAMENTO - DIRIGENTES","account_template_207","view","passivo","True"
608+"account_template_224","2.1.03.04.0001","Pro-Labore a Pagar","account_template_223","other","passivo","True"
609+"account_template_225","2.1.03.05","ENCARGOS SOCIAIS A PAGAR","account_template_207","view","passivo","True"
610+"account_template_226","2.1.03.05.0001","INSS a Recolher","account_template_225","other","passivo","True"
611+"account_template_227","2.1.03.05.0002","FGTS a Recolher","account_template_225","other","passivo","True"
612+"account_template_228","2.1.03.05.0003","Contribuição Sindical a Pagar","account_template_225","other","passivo","True"
613+"account_template_229","2.1.03.05.0004","Previdência Privada a Recolher","account_template_225","other","passivo","True"
614+"account_template_230","2.1.04","OBRIGAÇÕES TRIBUTÁRIAS","account_template_194","view","passivo","True"
615+"account_template_231","2.1.04.01","IMPOSTOS RETIDOS A RECOLHER","account_template_230","view","passivo","True"
616+"account_template_232","2.1.04.01.0001","IRRF a Recolher - Pessoa Física","account_template_231","other","passivo","True"
617+"account_template_233","2.1.04.01.0002","IRRF a Recolher - Pessoa Jurídica","account_template_231","other","passivo","True"
618+"account_template_234","2.1.04.01.0003","ISS Retido a Recolher","account_template_231","other","passivo","True"
619+"account_template_235","2.1.04.01.0004","PIS/COFINS/CSLL Retido a Recolher","account_template_231","other","passivo","True"
620+"account_template_236","2.1.04.01.0005","INSS Retido a Recolher","account_template_231","other","passivo","True"
621+"account_template_237","2.1.04.02","IMPOSTOS E CONTRIBUIÇÃO S/ O LUCRO","account_template_230","view","passivo","True"
622+"account_template_238","2.1.04.02.0001","Provisão para o Imposto de Renda","account_template_237","other","passivo","True"
623+"account_template_239","2.1.04.02.0002","Provisão Contrib.Social s/Lucro Líquido","account_template_237","other","passivo","True"
624+"account_template_240","2.1.04.03","IMPOSTOS E CONTRIBUIÇÃO S/ RECEITAS","account_template_230","view","passivo","True"
625+"account_template_241","2.1.04.03.0001","ICMS a Recolher","account_template_240","other","passivo","True"
626+"account_template_242","2.1.04.03.0002","COFINS a Recolher","account_template_240","other","passivo","True"
627+"account_template_243","2.1.04.03.0003","PIS a Recolher","account_template_240","other","passivo","True"
628+"account_template_244","2.1.04.03.0004","IPI a Recolher","account_template_240","other","passivo","True"
629+"account_template_245","2.1.04.03.0005","ISS a Recolher","account_template_240","other","passivo","True"
630+"account_template_246","2.1.05","PARCELAMENTOS CURTO PRAZO","account_template_194","view","passivo","True"
631+"account_template_247","2.1.05.01","PARCELAMENTOS TRIBUTÁRIOS","account_template_246","view","passivo","True"
632+"account_template_248","2.1.05.01.0001","COFINS Parcelamento","account_template_247","other","passivo","True"
633+"account_template_249","2.1.05.01.0002","PIS Parcelamento","account_template_247","other","passivo","True"
634+"account_template_250","2.1.05.01.0003","IPI Parcelamento","account_template_247","other","passivo","True"
635+"account_template_251","2.1.05.01.0004","ICMS Parcelamento","account_template_247","other","passivo","True"
636+"account_template_252","2.1.05.01.0005","IRPJ Parcelamento","account_template_247","other","passivo","True"
637+"account_template_253","2.1.05.01.0006","CSLL Parcelamento","account_template_247","other","passivo","True"
638+"account_template_254","2.1.05.01.0007","INSS Parcelamento","account_template_247","other","passivo","True"
639+"account_template_255","2.1.05.01.0008","FGTS Parcelamento","account_template_247","other","passivo","True"
640+"account_template_256","2.1.06","OUTRAS OBRIGAÇÕES","account_template_194","view","passivo","True"
641+"account_template_257","2.1.06.01","CONTAS DE CONSUMO","account_template_256","view","passivo","True"
642+"account_template_258","2.1.06.01.0001","Consumo de Água/Esgoto","account_template_257","other","passivo","True"
643+"account_template_259","2.1.06.01.0003","Consumo de Energia Elétrica","account_template_257","other","passivo","True"
644+"account_template_260","2.1.06.01.0004","Consumo de Telefone","account_template_257","other","passivo","True"
645+"account_template_261","2.1.06.01.0005","Consumo de Internet","account_template_257","other","passivo","True"
646+"account_template_262","2.1.06.02","OUTRAS CONTAS A PAGAR","account_template_256","view","passivo","True"
647+"account_template_263","2.1.06.02.0001","Cheques a Compensar","account_template_262","other","passivo","True"
648+"account_template_264","2.1.06.02.0002","Seguros a Pagar","account_template_262","other","passivo","True"
649+"account_template_265","2.1.06.02.0003","Assinaturas de Periódicos a Pagar","account_template_262","other","passivo","True"
650+"account_template_266","2.1.06.02.0004","Aluguel a Pagar","account_template_262","other","passivo","True"
651+"account_template_267","2.1.06.02.0005","Doações a Pagar","account_template_262","other","passivo","True"
652+"account_template_268","2.1.06.02.0006","Pensão Alimenticia a Pagar","account_template_262","other","passivo","True"
653+"account_template_269","2.1.06.03","ADIANTAMENTO DE CLIENTES","account_template_256","view","passivo","True"
654+"account_template_270","2.1.06.03.0001","Adiantamento Clientes","account_template_269","other","passivo","True"
655+"account_template_271","2.2","PASSIVO NÃO CIRCULANTE","account_template_193","view","passivo","True"
656+"account_template_272","2.2.01","EXIGÍVEL A LONGO PRAZO","account_template_271","view","passivo","True"
657+"account_template_273","2.2.01.01","FINANCIAMENTOS A LONGO PRAZO - SFN","account_template_272","view","passivo","True"
658+"account_template_274","2.2.01.01.0001","Banco Conta Empréstimo","account_template_273","other","passivo","True"
659+"account_template_275","2.2.01.02","EMPRÉSTIMO DE SÓCIOS","account_template_272","view","passivo","True"
660+"account_template_276","2.2.01.02.0001","Sócio","account_template_275","other","passivo","True"
661+"account_template_277","2.2.01.03","EMPRÉSTIMO DE EMPRESAS LIGADAS","account_template_272","view","passivo","True"
662+"account_template_278","2.2.01.03.0001","Empresas Ligadas","account_template_277","other","passivo","True"
663+"account_template_279","2.2.01.04","EMPRÉSTIMOS A TERCEIROS","account_template_272","view","passivo","True"
664+"account_template_280","2.2.01.04.0001","Terceiro","account_template_279","other","passivo","True"
665+"account_template_281","2.2.01.05","PARCELAMENTOS TRIBUTÁRIOS","account_template_272","view","passivo","True"
666+"account_template_282","2.2.01.05.0001","COFINS Parcelamento","account_template_281","other","passivo","True"
667+"account_template_283","2.2.01.05.0002","PIS Parcelamento","account_template_281","other","passivo","True"
668+"account_template_284","2.2.01.05.0003","IPI Parcelamento","account_template_281","other","passivo","True"
669+"account_template_285","2.2.01.05.0004","ICMS Parcelamento","account_template_281","other","passivo","True"
670+"account_template_286","2.2.01.05.0005","ISS Parcelamento","account_template_281","other","passivo","True"
671+"account_template_287","2.2.01.05.0006","IRPJ Parcelamento","account_template_281","other","passivo","True"
672+"account_template_288","2.2.01.05.0007","CSLL Parcelamento","account_template_281","other","passivo","True"
673+"account_template_289","2.2.01.05.0008","INSS Parcelamento","account_template_281","other","passivo","True"
674+"account_template_290","2.2.01.05.0009","FGTS Parcelamento","account_template_281","other","passivo","True"
675+"account_template_291","2.2.03","RECEITA DIFERIDA","account_template_271","view","passivo","True"
676+"account_template_292","2.2.03.01","RECEITAS DIFERIDAS","account_template_291","view","passivo","True"
677+"account_template_293","2.2.03.01.0001","Receitas a Realizar","account_template_292","other","passivo","True"
678+"account_template_294","2.2.03.02","CUSTOS DIFERIDOS","account_template_291","view","passivo","True"
679+"account_template_295","2.2.03.02.0001","Custos Diferidos","account_template_294","other","passivo","True"
680+"account_template_296","2.2.03.03","DESPESAS DIFERIDAS","account_template_291","view","passivo","True"
681+"account_template_297","2.2.03.03.0001","Despesas Diferidas","account_template_296","other","passivo","True"
682+"account_template_298","2.4","PATRIMÔNIO LÍQUIDO","account_template_193","view","passivo","True"
683+"account_template_299","2.4.01","CAPITAL SOCIAL","account_template_298","view","passivo","True"
684+"account_template_300","2.4.01.01","CAPITAL SOCIAL REALIZADO","account_template_299","view","passivo","True"
685+"account_template_301","2.4.01.01.0001","Capital Social Realizado","account_template_300","other","passivo","True"
686+"account_template_302","2.4.01.02","(-) CAPITAL A REALIZAR","account_template_299","view","passivo","True"
687+"account_template_303","2.4.01.02.0001","Capital Social a Realizar ","account_template_302","other","passivo","True"
688+"account_template_304","2.4.02","RESERVAS","account_template_298","view","passivo","True"
689+"account_template_305","2.4.02.01","RESERVAS DE CAPITAL","account_template_304","view","passivo","True"
690+"account_template_306","2.4.02.01.0001","Reserva de Correção do Capital Realizado","account_template_305","other","passivo","True"
691+"account_template_307","2.4.02.02","AJUSTES DE AVALIAÇÃO PATRIMONIAL","account_template_304","view","passivo","True"
692+"account_template_308","2.4.02.02.0001","Ajustes de Avaliação Patrimonial","account_template_307","other","passivo","True"
693+"account_template_309","2.4.02.03","RESERVAS DE LUCROS","account_template_304","view","passivo","True"
694+"account_template_310","2.4.02.03.0001","Reserva de Lucros","account_template_309","other","passivo","True"
695+"account_template_311","2.4.02.03.0002","Reserva para Aumento de Capital","account_template_309","other","passivo","True"
696+"account_template_312","2.4.02.04","PREJUÍZOS ACUMULADOS","account_template_304","view","passivo","True"
697+"account_template_313","2.4.02.04.0002","(-) Prejuízos Acumulados","account_template_312","other","passivo","True"
698+"account_template_314","2.4.02.04.0003","Ajustes Credores Exercícios Anteriores","account_template_312","other","passivo","True"
699+"account_template_315","2.4.02.04.0001","Ajustes Devedores Exercícios Anteriores","account_template_312","other","passivo","True"
700+"account_template_316","2.4.02.05","RESULTADO DO EXERCÍCIO","account_template_304","view","passivo","True"
701+"account_template_317","2.4.02.05.0001","Lucro do Exercício","account_template_316","other","passivo","True"
702+"account_template_318","2.4.02.05.0002","Prejuízo do Exercício","account_template_316","other","passivo","True"
703+"account_template_319","2.4.02.06","(-) LUCROS DISTRIBUÍDOS","account_template_304","view","passivo","True"
704+"account_template_320","2.4.02.06.0001","Lucros Distribuídos","account_template_319","other","passivo","True"
705+"account_template_321","3","CONTAS DE RESULTADO - CUSTOS E DESPESAS","account_template_1","view","despesa","True"
706+"account_template_322","3.1","CUSTOS","account_template_321","view","despesa","True"
707+"account_template_323","3.1.01","CUSTOS DAS MERCADORIAS E PRODUTOS","account_template_322","view","despesa","True"
708+"account_template_324","3.1.01.01","CUSTOS DAS MERCADORIAS VENDIDAS","account_template_323","view","despesa","True"
709+"account_template_325","3.1.01.01.0001","Custo das Mercadorias Vendidas","account_template_324","other","despesa","True"
710+"account_template_326","3.1.02","CUSTO DOS PRODUTOS VENDIDOS","account_template_322","view","despesa","True"
711+"account_template_327","3.1.02.01","CUSTO DAS MATÉRIAS PRIMAS","account_template_326","view","despesa","True"
712+"account_template_328","3.1.02.01.0001","Custo das Matérias Primas","account_template_327","other","despesa","True"
713+"account_template_329","3.1.02.02","CUSTO DOS PRODUTOS ACABADOS","account_template_326","view","despesa","True"
714+"account_template_330","3.1.02.02.0001","Custo dos Produtos Acabados","account_template_329","other","despesa","True"
715+"account_template_331","3.1.02.03","CUSTO DE MÃO-DE-OBRA DIRETA","account_template_326","view","despesa","True"
716+"account_template_332","3.1.02.03.0001","Salários","account_template_331","other","despesa","True"
717+"account_template_333","3.1.02.03.0002","Horas Extras","account_template_331","other","despesa","True"
718+"account_template_334","3.1.02.03.0003","Adicional Noturno","account_template_331","other","despesa","True"
719+"account_template_335","3.1.02.03.0004","Férias","account_template_331","other","despesa","True"
720+"account_template_336","3.1.02.03.0005","13º Salário","account_template_331","other","despesa","True"
721+"account_template_337","3.1.02.03.0006","Aviso Prévio/Indeniz.Trabalhistas","account_template_331","other","despesa","True"
722+"account_template_338","3.1.02.03.0007","Gratificações","account_template_331","other","despesa","True"
723+"account_template_339","3.1.02.03.0008","INSS Empresa","account_template_331","other","despesa","True"
724+"account_template_340","3.1.02.03.0009","FGTS ","account_template_331","other","despesa","True"
725+"account_template_341","3.1.02.03.0010","Adicional Insalubridade","account_template_331","other","despesa","True"
726+"account_template_342","3.1.02.03.0011","Vale Transporte","account_template_331","other","despesa","True"
727+"account_template_343","3.1.02.03.0012","PAT - Programa Alim. Trabalhador","account_template_331","other","despesa","True"
728+"account_template_344","3.1.02.03.0013","Assistência Médica","account_template_331","other","despesa","True"
729+"account_template_345","3.1.02.03.0014","DSR - Descanso Semanal Remunerado","account_template_331","other","despesa","True"
730+"account_template_346","3.1.02.03.0015","Salário Estagiários","account_template_331","other","despesa","True"
731+"account_template_347","3.1.02.03.0016","Previdência Privada","account_template_331","other","despesa","True"
732+"account_template_348","3.1.02.03.0017","Vestuário","account_template_331","other","despesa","True"
733+"account_template_349","3.1.02.03.0018","Assiduidade","account_template_331","other","despesa","True"
734+"account_template_350","3.1.02.03.0019","Abono Salarial","account_template_331","other","despesa","True"
735+"account_template_351","3.1.02.03.0020","Vale Refeição","account_template_331","other","despesa","True"
736+"account_template_352","3.1.02.03.0021","Farmácia","account_template_331","other","despesa","True"
737+"account_template_353","3.1.02.03.0022","Pró-Labore","account_template_331","other","despesa","True"
738+"account_template_354","3.1.02.04","GASTOS GERAIS DE FABRICAÇÃO","account_template_326","view","despesa","True"
739+"account_template_355","3.1.02.04.0001","Aluguel","account_template_354","other","despesa","True"
740+"account_template_356","3.1.02.04.0002","Água e Esgoto","account_template_354","other","despesa","True"
741+"account_template_357","3.1.02.04.0003","Energia Elétrica","account_template_354","other","despesa","True"
742+"account_template_358","3.1.02.04.0004","Fretes e Carretos","account_template_354","other","despesa","True"
743+"account_template_359","3.1.02.04.0005","Material de Consumo","account_template_354","other","despesa","True"
744+"account_template_360","3.1.02.04.0006","Condução","account_template_354","other","despesa","True"
745+"account_template_361","3.1.02.04.0007","Contribuição Sindical/Assoc.de Classe","account_template_354","other","despesa","True"
746+"account_template_362","3.1.02.04.0008","Material de Limpeza","account_template_354","other","despesa","True"
747+"account_template_363","3.1.02.04.0009","Seguros","account_template_354","other","despesa","True"
748+"account_template_364","3.1.02.04.0010","Viagens e Estadias","account_template_354","other","despesa","True"
749+"account_template_365","3.1.02.04.0011","Manutenção de Equipamentos","account_template_354","other","despesa","True"
750+"account_template_366","3.1.02.04.0012","Depreciações e Amortizações","account_template_354","other","despesa","True"
751+"account_template_367","3.1.02.04.0013","Combustíveis e Lubrificantes","account_template_354","other","despesa","True"
752+"account_template_368","3.1.02.04.0014","Bens de Pequeno Valor","account_template_354","other","despesa","True"
753+"account_template_369","3.1.02.04.0015","Leasing","account_template_354","other","despesa","True"
754+"account_template_370","3.1.02.04.0016","Formação de Pessoal","account_template_354","other","despesa","True"
755+"account_template_371","3.1.02.04.0017","Serviços de Terceiros - Pessoa Jurídica","account_template_354","other","despesa","True"
756+"account_template_372","3.1.02.04.0018","Locação de Equipamentos","account_template_354","other","despesa","True"
757+"account_template_373","3.1.02.04.0019","Feiras/Congressos/Simpósios/Cursos","account_template_354","other","despesa","True"
758+"account_template_374","3.1.02.04.0020","Telefone","account_template_354","other","despesa","True"
759+"account_template_375","3.1.02.04.0021","Comissões sobre Serviços","account_template_354","other","despesa","True"
760+"account_template_376","3.1.02.04.0022","Jornais, Revistas e Periódicos","account_template_354","other","despesa","True"
761+"account_template_377","3.1.02.04.0023","Confraternizações","account_template_354","other","despesa","True"
762+"account_template_378","3.1.02.04.0024","Manutenção de Prédios","account_template_354","other","despesa","True"
763+"account_template_379","3.1.02.04.0025","Brindes e Amostras","account_template_354","other","despesa","True"
764+"account_template_380","3.1.02.04.0026","Aluguel de Equipamentos","account_template_354","other","despesa","True"
765+"account_template_381","3.1.02.04.0027","Serv.de Terceiros P.Física - Autônomos","account_template_354","other","despesa","True"
766+"account_template_382","3.1.02.04.0028","Manutenção de Veículos","account_template_354","other","despesa","True"
767+"account_template_383","3.1.02.04.0029","Despesas de Importação","account_template_354","other","despesa","True"
768+"account_template_384","3.1.02.04.0030","(-) Crédito PIS Não-Cumulativo","account_template_354","other","despesa","True"
769+"account_template_385","3.1.02.04.0031","(-) Crédito Cofins Não-Cumulativo","account_template_354","other","despesa","True"
770+"account_template_386","3.1.02.05","ESTOQUE INICIAL DE PROD.EM ELABORAÇÃO","account_template_326","view","despesa","True"
771+"account_template_387","3.1.02.05.0001","Estoque Inicial de Prod. em Elaboração","account_template_386","other","despesa","True"
772+"account_template_388","3.1.02.06","ESTOQUE INICIAL DE PROD.ACABADOS","account_template_326","view","despesa","True"
773+"account_template_389","3.1.02.06.0001","Estoque Inicial de Prod.Acabados","account_template_388","other","despesa","True"
774+"account_template_390","3.1.02.07","ESTOQUE FINAL DE PROD.EM ELABORAÇÃO","account_template_326","view","despesa","True"
775+"account_template_391","3.1.02.07.0001","Estoque Final de Prod.em Elaboração","account_template_390","other","despesa","True"
776+"account_template_392","3.1.02.08","ESTOQUE FINAL DE PROD.ACABADOS","account_template_326","view","despesa","True"
777+"account_template_393","3.1.02.08.0001","Estoque Final de Prod.Acabados","account_template_392","other","despesa","True"
778+"account_template_394","3.2","despesa","account_template_321","view","despesa","True"
779+"account_template_395","3.2.01","DESPESAS OPERACIONAIS COMERCIAIS","account_template_394","view","despesa","True"
780+"account_template_396","3.2.01.01","DESPESAS TRABALHISTAS","account_template_395","view","despesa","True"
781+"account_template_397","3.2.01.01.0001","Salários","account_template_396","other","despesa","True"
782+"account_template_398","3.2.01.01.0002","Horas Extras","account_template_396","other","despesa","True"
783+"account_template_399","3.2.01.01.0003","Vale Transporte","account_template_396","other","despesa","True"
784+"account_template_400","3.2.01.01.0004","Férias","account_template_396","other","despesa","True"
785+"account_template_401","3.2.01.01.0005","13º Salário","account_template_396","other","despesa","True"
786+"account_template_402","3.2.01.01.0006","Aviso Prévio/Indeniz.Trabalhisas","account_template_396","other","despesa","True"
787+"account_template_403","3.2.01.01.0007","Gratificações","account_template_396","other","despesa","True"
788+"account_template_404","3.2.01.01.0008","Assiduidade","account_template_396","other","despesa","True"
789+"account_template_405","3.2.01.01.0009","Abono Salarial","account_template_396","other","despesa","True"
790+"account_template_406","3.2.01.01.0010","Adicional de Insalubridade","account_template_396","other","despesa","True"
791+"account_template_407","3.2.01.01.0011","Vale Refeição","account_template_396","other","despesa","True"
792+"account_template_408","3.2.01.01.0012","Adicional Noturno","account_template_396","other","despesa","True"
793+"account_template_409","3.2.01.01.0013","Farmácia","account_template_396","other","despesa","True"
794+"account_template_410","3.2.01.01.0014","PAT - Programa Alim. Trabalhador","account_template_396","other","despesa","True"
795+"account_template_411","3.2.01.01.0015","Pró-Labore","account_template_396","other","despesa","True"
796+"account_template_412","3.2.01.01.0016","Assistência Médica","account_template_396","other","despesa","True"
797+"account_template_413","3.2.01.02","ENCARGOS SOCIAIS","account_template_395","view","despesa","True"
798+"account_template_414","3.2.01.02.0001","Inss","account_template_413","other","despesa","True"
799+"account_template_415","3.2.01.02.0002","Fgts","account_template_413","other","despesa","True"
800+"account_template_416","3.2.01.03","DESPESAS GERAIS COMERCIAIS","account_template_395","view","despesa","True"
801+"account_template_417","3.2.01.03.0001","Comissões sobre Vendas","account_template_416","other","despesa","True"
802+"account_template_418","3.2.01.03.0002","Aluguel","account_template_416","other","despesa","True"
803+"account_template_419","3.2.01.03.0003","Agua e Esgoto","account_template_416","other","despesa","True"
804+"account_template_420","3.2.01.03.0004","Energia Elétrica","account_template_416","other","despesa","True"
805+"account_template_421","3.2.01.03.0006","Material de Expediente","account_template_416","other","despesa","True"
806+"account_template_422","3.2.01.03.0007","Condução","account_template_416","other","despesa","True"
807+"account_template_423","3.2.01.03.0008","Correios e Malotes","account_template_416","other","despesa","True"
808+"account_template_424","3.2.01.03.0009","Material de Limpeza","account_template_416","other","despesa","True"
809+"account_template_425","3.2.01.03.0010","Seguros","account_template_416","other","despesa","True"
810+"account_template_426","3.2.01.03.0011","Viagens e Estadias","account_template_416","other","despesa","True"
811+"account_template_427","3.2.01.03.0012","Manutenção e Conservação","account_template_416","other","despesa","True"
812+"account_template_428","3.2.01.03.0013","Depreciação e Amortização","account_template_416","other","despesa","True"
813+"account_template_429","3.2.01.03.0014","Propaganda e Publicidade","account_template_416","other","despesa","True"
814+"account_template_430","3.2.01.03.0015","Fretes e Carretos","account_template_416","other","despesa","True"
815+"account_template_431","3.2.01.03.0016","Combustíveis e Lubrificantes","account_template_416","other","despesa","True"
816+"account_template_432","3.2.01.03.0017","Leasing","account_template_416","other","despesa","True"
817+"account_template_433","3.2.01.03.0018","Serv.Terceiros P.Física - Autônomos","account_template_416","other","despesa","True"
818+"account_template_434","3.2.01.03.0019","Serv.Terceiros Pessoa Jurídica","account_template_416","other","despesa","True"
819+"account_template_435","3.2.01.03.0020","Feiras/Congressos/Simpósios/Cursos","account_template_416","other","despesa","True"
820+"account_template_436","3.2.01.03.0021","Telefone","account_template_416","other","despesa","True"
821+"account_template_437","3.2.01.03.0022","Despesas com Exportação","account_template_416","other","despesa","True"
822+"account_template_438","3.2.01.03.0024","Jornais, Revistas e Periódicos","account_template_416","other","despesa","True"
823+"account_template_439","3.2.01.03.0025","Refeições e Lanches","account_template_416","other","despesa","True"
824+"account_template_440","3.2.01.03.0026","Confraternizações","account_template_416","other","despesa","True"
825+"account_template_441","3.2.01.03.0027","Brindes","account_template_416","other","despesa","True"
826+"account_template_442","3.2.01.03.0028","Internet","account_template_416","other","despesa","True"
827+"account_template_443","3.2.02","DESPESAS ADMINISTRATIVAS","account_template_394","view","despesa","True"
828+"account_template_444","3.2.02.01","DESPESAS TRABALHISTAS","account_template_443","view","despesa","True"
829+"account_template_445","3.2.02.01.0001","Pro-Labore","account_template_444","other","despesa","True"
830+"account_template_446","3.2.02.01.0002","Salários","account_template_444","other","despesa","True"
831+"account_template_447","3.2.02.01.0003","Horas Extras","account_template_444","other","despesa","True"
832+"account_template_448","3.2.02.01.0004","Férias","account_template_444","other","despesa","True"
833+"account_template_449","3.2.02.01.0005","13º Salário","account_template_444","other","despesa","True"
834+"account_template_450","3.2.02.01.0006","Aviso Prévio/Indeniz.Trabalhistas","account_template_444","other","despesa","True"
835+"account_template_451","3.2.02.01.0007","Gratificações","account_template_444","other","despesa","True"
836+"account_template_452","3.2.02.01.0008","Adicional Insalubridade","account_template_444","other","despesa","True"
837+"account_template_453","3.2.02.01.0009","Adicional Noturno","account_template_444","other","despesa","True"
838+"account_template_454","3.2.02.01.0010","Vale Transporte","account_template_444","other","despesa","True"
839+"account_template_455","3.2.02.01.0011","Farmácia","account_template_444","other","despesa","True"
840+"account_template_456","3.2.02.01.0012","Vale Refeição","account_template_444","other","despesa","True"
841+"account_template_457","3.2.02.01.0013","PAT - Programa Alim. Trabalhador","account_template_444","other","despesa","True"
842+"account_template_458","3.2.02.01.0014","Salário Estagiários","account_template_444","other","despesa","True"
843+"account_template_459","3.2.02.01.0015","Assiduidade","account_template_444","other","despesa","True"
844+"account_template_460","3.2.02.01.0016","Abono Salarial","account_template_444","other","despesa","True"
845+"account_template_461","3.2.02.01.0017","Previdência Privada","account_template_444","other","despesa","True"
846+"account_template_462","3.2.02.01.0018","Assistência Médica","account_template_444","other","despesa","True"
847+"account_template_463","3.2.02.02","ENCARGOS SOCIAIS","account_template_443","view","despesa","True"
848+"account_template_464","3.2.02.02.0001","Inss","account_template_463","other","despesa","True"
849+"account_template_465","3.2.02.02.0002","Fgts","account_template_463","other","despesa","True"
850+"account_template_466","3.2.02.03","DESPESAS GERAIS ADMINISTRATIVAS","account_template_443","view","despesa","True"
851+"account_template_467","3.2.02.03.0001","Aluguel","account_template_466","other","despesa","True"
852+"account_template_468","3.2.02.03.0002","Água e Esgoto","account_template_466","other","despesa","True"
853+"account_template_469","3.2.02.03.0003","Energia Elétrica","account_template_466","other","despesa","True"
854+"account_template_470","3.2.02.03.0004","Copa, Cozinha e Refeitório","account_template_466","other","despesa","True"
855+"account_template_471","3.2.02.03.0005","Material de Escritório","account_template_466","other","despesa","True"
856+"account_template_472","3.2.02.03.0006","Fretes e Carretos","account_template_466","other","despesa","True"
857+"account_template_473","3.2.02.03.0007","Correios e Malotes","account_template_466","other","despesa","True"
858+"account_template_474","3.2.02.03.0008","Material de Limpeza","account_template_466","other","despesa","True"
859+"account_template_475","3.2.02.03.0009","Seguros","account_template_466","other","despesa","True"
860+"account_template_476","3.2.02.03.0010","Viagens e Estadias","account_template_466","other","despesa","True"
861+"account_template_477","3.2.02.03.0011","Manutenção e Conservação","account_template_466","other","despesa","True"
862+"account_template_478","3.2.02.03.0012","Depreciação e Amortização","account_template_466","other","despesa","True"
863+"account_template_479","3.2.02.03.0013","Sindicato Patronal/Assoc.de Classe","account_template_466","other","despesa","True"
864+"account_template_480","3.2.02.03.0014","Feiras/Congressos/Simpósios/Cursos","account_template_466","other","despesa","True"
865+"account_template_481","3.2.02.03.0015","Internet","account_template_466","other","despesa","True"
866+"account_template_482","3.2.02.03.0016","Combustíveis e Lubrificantes","account_template_466","other","despesa","True"
867+"account_template_483","3.2.02.03.0017","Leasing","account_template_466","other","despesa","True"
868+"account_template_484","3.2.02.03.0018","Serviço de Terceiros - Pessoa Jurídica","account_template_466","other","despesa","True"
869+"account_template_485","3.2.02.03.0019","Telefone","account_template_466","other","despesa","True"
870+"account_template_486","3.2.02.03.0020","Legais e Judiciais","account_template_466","other","despesa","True"
871+"account_template_487","3.2.02.03.0021","Bens de Pequeno Valor","account_template_466","other","despesa","True"
872+"account_template_488","3.2.02.03.0022","Jornais Revistas e Periódicos","account_template_466","other","despesa","True"
873+"account_template_489","3.2.02.03.0023","Cópias e Reproduções","account_template_466","other","despesa","True"
874+"account_template_490","3.2.02.03.0024","Confraternizações","account_template_466","other","despesa","True"
875+"account_template_491","3.2.02.03.0025","Formação de Pessoal","account_template_466","other","despesa","True"
876+"account_template_492","3.2.02.03.0026","Segurança e Vigilância","account_template_466","other","despesa","True"
877+"account_template_493","3.2.02.03.0027","Despesas com Veículos","account_template_466","other","despesa","True"
878+"account_template_494","3.2.02.03.0028","Impressos","account_template_466","other","despesa","True"
879+"account_template_495","3.2.02.03.0029","Refeições e Lanches","account_template_466","other","despesa","True"
880+"account_template_496","3.2.02.03.0030","Comissões","account_template_466","other","despesa","True"
881+"account_template_497","3.2.02.03.0031","Condução ","account_template_466","other","despesa","True"
882+"account_template_498","3.2.02.03.0032","Telefone Linha Fixa","account_template_466","other","despesa","True"
883+"account_template_499","3.2.02.03.0033","Telefone Móvel Celular","account_template_466","other","despesa","True"
884+"account_template_500","3.2.02.03.0034","Telefone Nextel","account_template_466","other","despesa","True"
885+"account_template_501","3.2.02.03.0035","Crea-PR","account_template_466","other","despesa","True"
886+"account_template_502","3.2.02.03.0036","Despesas de Cartório","account_template_466","other","despesa","True"
887+"account_template_503","3.2.02.03.0037","Material de Consumo","account_template_466","other","despesa","True"
888+"account_template_504","3.2.02.03.0038","Donativos e Contribuições","account_template_466","other","despesa","True"
889+"account_template_505","3.2.02.03.0039","Locação de Equipamentos","account_template_466","other","despesa","True"
890+"account_template_506","3.2.02.04","DESPESAS INDEDUTÍVEIS","account_template_443","view","despesa","True"
891+"account_template_507","3.2.02.04.0001","Autos de Infração","account_template_506","other","despesa","True"
892+"account_template_508","3.2.02.04.0002","Multas Punitívas","account_template_506","other","despesa","True"
893+"account_template_509","3.2.02.04.0003","Contribuições e Doações","account_template_506","other","despesa","True"
894+"account_template_510","3.2.02.04.0004","Impostos Federais - Exerc. Anteriores","account_template_506","other","despesa","True"
895+"account_template_511","3.2.02.04.0005","Impostos Estaduais - Exerc. Anteriores","account_template_506","other","despesa","True"
896+"account_template_512","3.2.02.04.0006","Impostos Municipais - Exerc.Anteriores","account_template_506","other","despesa","True"
897+"account_template_513","3.2.03","DESPESAS FINANCEIRAS","account_template_394","view","despesa","True"
898+"account_template_514","3.2.03.01","DESPESAS COM ATUALIZAÇÕES","account_template_513","view","despesa","True"
899+"account_template_515","3.2.03.01.0001","Variação Monetária Passiva","account_template_514","other","despesa","True"
900+"account_template_516","3.2.03.01.0002","Variação Cambial Passiva","account_template_514","other","despesa","True"
901+"account_template_517","3.2.03.01.0003","Despesas de Cobrança","account_template_514","other","despesa","True"
902+"account_template_518","3.2.03.01.0004","Despesas Bancárias","account_template_514","other","despesa","True"
903+"account_template_519","3.2.03.02","JUROS E DESCONTOS","account_template_513","view","despesa","True"
904+"account_template_520","3.2.03.02.0001","Juros de Mora","account_template_519","other","despesa","True"
905+"account_template_521","3.2.03.02.0002","Descontos Concedidos","account_template_519","other","despesa","True"
906+"account_template_522","3.2.03.02.0003","Juros s/ Empréstimos e Financiamentos","account_template_519","other","despesa","True"
907+"account_template_523","3.2.03.02.0004","Juros s/ Descontos de Duplicatas","account_template_519","other","despesa","True"
908+"account_template_524","3.2.04","DESPESAS TRIBUTÁRIAS","account_template_394","view","despesa","True"
909+"account_template_525","3.2.04.01","IMPOSTOS, TAXAS E CONTRIBUIÇÕES","account_template_524","view","despesa","True"
910+"account_template_526","3.2.04.01.0001","IOF","account_template_525","other","despesa","True"
911+"account_template_527","3.2.04.01.0002","CPMF","account_template_525","other","despesa","True"
912+"account_template_528","3.2.04.01.0003","IPTU","account_template_525","other","despesa","True"
913+"account_template_529","3.2.04.01.0004","IPVA","account_template_525","other","despesa","True"
914+"account_template_530","3.2.04.01.0005","IRF (Exclusivo na Fonte)","account_template_525","other","despesa","True"
915+"account_template_531","3.2.04.01.0006","Impostos e Taxas Federais","account_template_525","other","despesa","True"
916+"account_template_532","3.2.04.01.0007","Impostos e Taxas Estaduais","account_template_525","other","despesa","True"
917+"account_template_533","3.2.04.01.0008","Impostos e Taxas Municipais","account_template_525","other","despesa","True"
918+"account_template_534","3.2.04.02","MULTAS","account_template_524","view","despesa","True"
919+"account_template_535","3.2.04.02.0001","Multas Fiscais Compensatórias","account_template_534","other","despesa","True"
920+"account_template_536","3.2.04.02.0002","Multas de Mora","account_template_534","other","despesa","True"
921+"account_template_537","3.2.04.02.0003","Multas Contratuais","account_template_534","other","despesa","True"
922+"account_template_538","3.2.05","OUTRAS DESPESAS OPERACIONAIS","account_template_394","view","despesa","True"
923+"account_template_539","3.2.05.01","PERDAS","account_template_538","view","despesa","True"
924+"account_template_540","3.2.05.01.0001","Perdas com Duplicatas Incobráveis","account_template_539","other","despesa","True"
925+"account_template_541","3.2.06","DESPESAS NÃO OPERACIONAIS","account_template_394","view","despesa","True"
926+"account_template_542","3.2.06.01","PERDAS","account_template_541","view","despesa","True"
927+"account_template_543","3.2.06.01.0002","Perda crédito de ICMS s/ Imobilizado","account_template_542","other","despesa","True"
928+"account_template_544","3.2.06.01.0003","Perdas com Sinistros","account_template_542","other","despesa","True"
929+"account_template_545","3.2.06.01.0004","Perdas na Alienação de Imobilizado","account_template_542","other","despesa","True"
930+"account_template_546","3.2.06.01.0001","Perdas na Alienação de Investimentos","account_template_542","other","despesa","True"
931+"account_template_547","3.2.06.01.0005","Perdas, Deterioração de Mercadorias","account_template_542","other","despesa","True"
932+"account_template_548","4","CONTAS DE RESULTADO - RECEITAS","account_template_1","view","receita","True"
933+"account_template_549","4.1","RECEITAS","account_template_548","view","receita","True"
934+"account_template_550","4.1.01","RECEITAS OPERACIONAIS VENDAS E SERVIÇOS","account_template_549","view","receita","True"
935+"account_template_551","4.1.01.01","RECEITA BRUTA VENDAS NO PAÍS ","account_template_550","view","receita","True"
936+"account_template_552","4.1.01.01.0001","Venda Produtos Fabricação Própria","account_template_551","other","receita","True"
937+"account_template_553","4.1.01.01.0002","Industrialização de Mercadorias","account_template_551","other","receita","True"
938+"account_template_554","4.1.01.01.0003","Revenda de Mercadorias","account_template_551","other","receita","True"
939+"account_template_555","4.1.01.01.0004","Venda Fabricação Própria","account_template_551","other","receita","True"
940+"account_template_556","4.1.01.01.0005","Industriazalição de Mercadorias","account_template_551","other","receita","True"
941+"account_template_557","4.1.01.01.0006","Revenda de Mercadorias","account_template_551","other","receita","True"
942+"account_template_558","4.1.01.02","RECEITA DE SERVIÇOS NO PAIS ","account_template_550","view","receita","True"
943+"account_template_559","4.1.01.02.0001","Receita de Serviços","account_template_558","other","receita","True"
944+"account_template_560","4.1.01.02.0002","Receita de Serviços","account_template_558","other","receita","True"
945+"account_template_561","4.1.01.03","RECEITA BRUTA DE VENDAS P/EXTERIOR","account_template_550","view","receita","True"
946+"account_template_562","4.1.01.03.0001","Venda de Produtos Fabricação Própria(EX)","account_template_561","other","receita","True"
947+"account_template_563","4.1.01.03.0002","Revenda de Mercadorias (EX)","account_template_561","other","receita","True"
948+"account_template_564","4.1.02","(-) DEDUÇÕES DA RECEITA BRUTA","account_template_549","view","receita","True"
949+"account_template_565","4.1.02.01","DEVOLUÇÕES E ABATIMENTOS","account_template_564","view","receita","True"
950+"account_template_566","4.1.02.01.0001","Devolução de Vendas","account_template_565","other","receita","True"
951+"account_template_567","4.1.02.01.0002","Abatimentos Concedidos","account_template_565","other","receita","True"
952+"account_template_568","4.1.02.01.0003","Devolução de Vendas","account_template_565","other","receita","True"
953+"account_template_569","4.1.02.01.0004","Abatimentos Concedidos","account_template_565","other","receita","True"
954+"account_template_570","4.1.02.02","IMPOSTOS SOBRE VENDAS E SERVIÇOS","account_template_564","view","receita","True"
955+"account_template_571","4.1.02.02.0001","ICMS sobre Vendas","account_template_570","other","receita","True"
956+"account_template_572","4.1.02.02.0002","IPI sobre Vendas","account_template_570","other","receita","True"
957+"account_template_573","4.1.02.02.0003","PIS sobre Vendas ","account_template_570","other","receita","True"
958+"account_template_574","4.1.02.02.0004","COFINS sobre Vendas","account_template_570","other","receita","True"
959+"account_template_575","4.1.02.02.0005","ISS sobre Serviços","account_template_570","other","receita","True"
960+"account_template_579","4.1.02.03","(-) IMPOSTOS S/ DEVOLUÇÃO DE VENDAS","account_template_564","view","receita","True"
961+"account_template_580","4.1.02.03.0001","(-) Cofins Não-Cumulativo s/ Dev. Vendas","account_template_579","other","receita","True"
962+"account_template_581","4.1.02.03.0002","(-) ICMS sobre Devolução de Vendas","account_template_579","other","receita","True"
963+"account_template_582","4.1.02.03.0003","(-) IPI s/Devolução de Vendas","account_template_579","other","receita","True"
964+"account_template_583","4.1.02.03.0004","(-) Pis Não-Cumulativo s/ Dev. Vendas","account_template_579","other","receita","True"
965+"account_template_584","4.1.03","RECEITAS FINANCEIRAS","account_template_549","view","receita","True"
966+"account_template_585","4.1.03.01","RECEITAS COM ATUALIZAÇÕES","account_template_584","view","receita","True"
967+"account_template_586","4.1.03.01.0001","Variação Monetária Ativa","account_template_585","other","receita","True"
968+"account_template_587","4.1.03.01.0002","Variação Cambial Ativa","account_template_585","other","receita","True"
969+"account_template_588","4.1.03.02","GANHOS COM APLICAÇÕES FINANCEIRAS","account_template_584","view","receita","True"
970+"account_template_589","4.1.03.02.0001","Rend. Aplic.Automática C/Corrente","account_template_588","other","receita","True"
971+"account_template_590","4.1.03.02.0002","Ganho Real Aplicações Renda Fixa","account_template_588","other","receita","True"
972+"account_template_591","4.1.03.02.0003","Ganho Real Aplic.Renda Variável","account_template_588","other","receita","True"
973+"account_template_592","4.1.03.02.0004","Rendimento Caderneta de Poupança","account_template_588","other","receita","True"
974+"account_template_593","4.1.03.03","JUROS E DESCONTOS OBTIDOS","account_template_584","view","receita","True"
975+"account_template_594","4.1.03.03.0001","Juros Recebidos","account_template_593","other","receita","True"
976+"account_template_595","4.1.03.03.0002","Descontos Obtidos","account_template_593","other","receita","True"
977+"account_template_596","4.1.03.04","(-) TRIBUTOS S/RECEITAS FINANCEIRAS","account_template_584","view","receita","True"
978+"account_template_597","4.1.03.04.0001","PIS sobre Receitas Financeiras","account_template_596","other","receita","True"
979+"account_template_598","4.1.03.04.0002","COFINS sobre Receitas Financeiras","account_template_596","other","receita","True"
980+"account_template_599","4.1.04","OUTRAS RECEITAS OPERACIONAIS","account_template_549","view","receita","True"
981+"account_template_600","4.1.04.01","LUCROS PARTIC.EM OUTRAS SOCIEDADES","account_template_599","view","receita","True"
982+"account_template_601","4.1.04.01.0001","Resultado de Coligadas e Controladas","account_template_600","other","receita","True"
983+"account_template_602","4.1.04.02","VENDAS DIVERSAS","account_template_599","view","receita","True"
984+"account_template_603","4.1.04.02.0001","Venda de Sucatas","account_template_602","other","receita","True"
985+"account_template_604","4.1.04.03","BRINDES E AMOSTRAS","account_template_599","view","receita","True"
986+"account_template_605","4.1.04.03.0001","Brindes e Bonificações","account_template_604","other","receita","True"
987+"account_template_606","4.1.04.03.0002","Amostras","account_template_604","other","receita","True"
988+"account_template_607","4.2","RESULTADOS NÃO OPERACIONAIS","account_template_548","view","receita","True"
989+"account_template_608","4.2.01","ALIENAÇÃO DE BENS PERMANENTES","account_template_607","view","receita","True"
990+"account_template_609","4.2.01.01","ALIENAÇÃO DE INVESTIMENTOS","account_template_608","view","receita","True"
991+"account_template_610","4.2.01.01.0001","Dividendos Recebidos","account_template_609","other","receita","True"
992+"account_template_611","4.2.01.01.0002","Alienação Partic.Societárias","account_template_609","other","receita","True"
993+"account_template_612","4.2.01.02","ALIENAÇÃO DE IMOBILIZADO","account_template_608","view","receita","True"
994+"account_template_613","4.2.01.02.0001","Alienação de Máquinas e Equipamentos","account_template_612","other","receita","True"
995+"account_template_614","4.2.01.02.0002","Alienação de Móveis e Utensílios","account_template_612","other","receita","True"
996+"account_template_615","4.2.01.02.0003","Alienação de Ferramentas","account_template_612","other","receita","True"
997+"account_template_616","4.2.01.02.0004","Alienação de Imóveis","account_template_612","other","receita","True"
998+"account_template_617","4.2.01.02.0005","Alienação de Veículos","account_template_612","other","receita","True"
999+"account_template_618","4.2.01.02.0006","Alienação de Equip.de Informática","account_template_612","other","receita","True"
1000+"account_template_619","4.2.02","DEDUÇÕES DAS ALIENAÇÕES DE BENS","account_template_607","view","receita","True"
1001+"account_template_620","4.2.02.01","CUSTO DA ALIENAÇÃO DE INVESTIMENTOS","account_template_619","view","receita","True"
1002+"account_template_621","4.2.02.01.0001","Custo Alienação Partic.Societárias","account_template_620","other","receita","True"
1003+"account_template_622","4.2.02.02","CUSTO DA ALIENAÇÃO DE IMOBILIZADO","account_template_619","view","receita","True"
1004+"account_template_623","4.2.02.02.0001","Custo Alienação Máqs.e Equipamentos","account_template_622","other","receita","True"
1005+"account_template_624","4.2.02.02.0002","Custo Alienação Movs.e Utensílios","account_template_622","other","receita","True"
1006+"account_template_625","4.2.02.02.0003","Custo Alienação Ferramentas","account_template_622","other","receita","True"
1007+"account_template_626","4.2.02.02.0004","Custo Alienação de Imóveis","account_template_622","other","receita","True"
1008+"account_template_627","4.2.02.02.0005","Custo Alienação de Veículos","account_template_622","other","receita","True"
1009+"account_template_628","4.2.02.02.0006","Custo Alienação Equip.Informática","account_template_622","other","receita","True"
1010+"account_template_629","4.2.03","OUTRAS RECEITAS NÃO OPERACIONAIS","account_template_607","view","receita","True"
1011+"account_template_630","4.2.03.01","INDENIZAÇÃO DE SEGUROS","account_template_629","view","receita","True"
1012+"account_template_631","4.2.03.01.0001","Indenização de Seguros","account_template_630","other","receita","True"
1013+"account_template_632","4.2.03.02","OUTRAS RECEITAS","account_template_629","view","receita","True"
1014+"account_template_633","4.2.03.02.0001","Recuperação de Despesas","account_template_632","other","receita","True"
1015+"account_template_634","5","CONTAS DE FECHAMENTO DE BALANÇO","account_template_1","view","resultado","True"
1016+"account_template_635","5.1","RESULTADO DO EXERCÍCIO","account_template_634","view","resultado","True"
1017+"account_template_636","5.1.01","RESULTADO OPERACIONAL","account_template_635","view","resultado","True"
1018+"account_template_637","5.1.01.01","PROVISÃO IMPOSTOS E CONTRIB. S/ O LUCRO","account_template_636","view","resultado","True"
1019+"account_template_638","5.1.01.01.0001","Provisão para IRPJ","account_template_637","closed","resultado","True"
1020+"account_template_639","5.1.01.01.0002","Provisão para Contribuição Social","account_template_637","closed","resultado","True"
1021+"account_template_640","5.1.01.02","RESULTADO FINAL DO EXERCÍCIO","account_template_636","view","resultado","True"
1022+"account_template_641","5.1.01.02.0001","Resultado Líquido do Exercício","account_template_640","closed","resultado","True"
1023
1024=== added file 'l10n_br/data/account.account.type.csv'
1025--- l10n_br/data/account.account.type.csv 1970-01-01 00:00:00 +0000
1026+++ l10n_br/data/account.account.type.csv 2012-05-03 23:39:20 +0000
1027@@ -0,0 +1,7 @@
1028+"id","code","name","close_method"
1029+"ativo","1","Ativo","unreconciled"
1030+"passivo","2","Passivo","unreconciled"
1031+"despesa","3","Despesas","balance"
1032+"receita","4","Receita","balance"
1033+"resultado","5","Resultado","balance"
1034+
1035
1036=== added file 'l10n_br/data/account.tax.code.template.csv'
1037--- l10n_br/data/account.tax.code.template.csv 1970-01-01 00:00:00 +0000
1038+++ l10n_br/data/account.tax.code.template.csv 2012-05-03 23:39:20 +0000
1039@@ -0,0 +1,11 @@
1040+"id","code","name","parent_id:id","sign","domain","tax_discount","tax_include"
1041+"tax_code_chart_root","","Códigos de Impostos Brasileiros","","1","",False,False
1042+"tax_code_1","ICMS","ICMS","tax_code_chart_root","1","icms",True,True
1043+"tax_code_3","ICMS Subist","ICMS Subist","tax_code_chart_root","1","icmsst",True,True
1044+"tax_code_4","IPI","IPI","tax_code_chart_root","1","ipi",True,False
1045+"tax_code_5","PIS","PIS","tax_code_chart_root","1","pis",True,True
1046+"tax_code_6","COFINS","COFINS","tax_code_chart_root","1","cofins",True,True
1047+"tax_code_7","IRPJ","IRPJ","tax_code_chart_root","1","irpj",True,True
1048+"tax_code_8","IR","IR","tax_code_chart_root","1","ir",True,True
1049+"tax_code_9","ISS","ISS","tax_code_chart_root","1","iss",True,False
1050+"tax_code_10","CSLL","CSLL","tax_code_chart_root","1","csll",True,True
1051
1052=== added file 'l10n_br/data/account_tax_template.xml'
1053--- l10n_br/data/account_tax_template.xml 1970-01-01 00:00:00 +0000
1054+++ l10n_br/data/account_tax_template.xml 2012-05-03 23:39:20 +0000
1055@@ -0,0 +1,755 @@
1056+<?xml version="1.0" encoding="utf-8"?>
1057+<openerp>
1058+ <data noupdate="True">
1059+
1060+ <record id="tax_template_1" model="account.tax.template">
1061+ <field name="description">IPI</field>
1062+ <field name="name">IPI</field>
1063+ <field name="tax_group">vat</field>
1064+ <field name="amount">0.00</field>
1065+ <field ref="account_template_244" name="account_collected_id"/>
1066+ <field ref="account_template_44" name="account_paid_id"/>
1067+ <field name="price_include">False</field>
1068+ <field name="tax_discount">True</field>
1069+ <field name="tax_add">True</field>
1070+ <field name="tax_retain">False</field>
1071+ <field name="tax_include">False</field>
1072+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1073+ <field ref="tax_code_4" name="base_code_id"/>
1074+ <field ref="tax_code_4" name="tax_code_id"/>
1075+ <field ref="tax_code_4" name="ref_base_code_id"/>
1076+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1077+ </record>
1078+
1079+ <record id="tax_template_3" model="account.tax.template">
1080+ <field name="description">IPI 2%</field>
1081+ <field name="name">IPI 2%</field>
1082+ <field name="tax_group">vat</field>
1083+ <field name="amount">0.02</field>
1084+ <field ref="account_template_244" name="account_collected_id"/>
1085+ <field ref="account_template_44" name="account_paid_id"/>
1086+ <field name="price_include">False</field>
1087+ <field name="tax_discount">True</field>
1088+ <field name="tax_add">True</field>
1089+ <field name="tax_retain">False</field>
1090+ <field name="tax_include">False</field>
1091+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1092+ <field ref="tax_code_4" name="base_code_id"/>
1093+ <field ref="tax_code_4" name="tax_code_id"/>
1094+ <field ref="tax_code_4" name="ref_base_code_id"/>
1095+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1096+ </record>
1097+
1098+ <record id="tax_template_4" model="account.tax.template">
1099+ <field name="description">IPI 3%</field>
1100+ <field name="name">IPI 3%</field>
1101+ <field name="tax_group">vat</field>
1102+ <field name="amount">0.03</field>
1103+ <field ref="account_template_244" name="account_collected_id"/>
1104+ <field ref="account_template_44" name="account_paid_id"/>
1105+ <field name="price_include">False</field>
1106+ <field name="tax_discount">True</field>
1107+ <field name="tax_add">True</field>
1108+ <field name="tax_retain">False</field>
1109+ <field name="tax_include">False</field>
1110+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1111+ <field ref="tax_code_4" name="base_code_id"/>
1112+ <field ref="tax_code_4" name="tax_code_id"/>
1113+ <field ref="tax_code_4" name="ref_base_code_id"/>
1114+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1115+ </record>
1116+
1117+ <record id="tax_template_5" model="account.tax.template">
1118+ <field name="description">IPI 4%</field>
1119+ <field name="name">IPI 4%</field>
1120+ <field name="tax_group">vat</field>
1121+ <field name="amount">0.04</field>
1122+ <field ref="account_template_244" name="account_collected_id"/>
1123+ <field ref="account_template_44" name="account_paid_id"/>
1124+ <field name="price_include">False</field>
1125+ <field name="tax_discount">True</field>
1126+ <field name="tax_add">True</field>
1127+ <field name="tax_retain">False</field>
1128+ <field name="tax_include">False</field>
1129+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1130+ <field ref="tax_code_4" name="base_code_id"/>
1131+ <field ref="tax_code_4" name="tax_code_id"/>
1132+ <field ref="tax_code_4" name="ref_base_code_id"/>
1133+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1134+ </record>
1135+
1136+ <record id="tax_template_6" model="account.tax.template">
1137+ <field name="description">IPI 5%</field>
1138+ <field name="name">IPI 5%</field>
1139+ <field name="tax_group">vat</field>
1140+ <field name="amount">0.05</field>
1141+ <field ref="account_template_244" name="account_collected_id"/>
1142+ <field ref="account_template_44" name="account_paid_id"/>
1143+ <field name="price_include">False</field>
1144+ <field name="tax_discount">True</field>
1145+ <field name="tax_add">True</field>
1146+ <field name="tax_retain">False</field>
1147+ <field name="tax_include">False</field>
1148+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1149+ <field ref="tax_code_4" name="base_code_id"/>
1150+ <field ref="tax_code_4" name="tax_code_id"/>
1151+ <field ref="tax_code_4" name="ref_base_code_id"/>
1152+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1153+ </record>
1154+
1155+ <record id="tax_template_7" model="account.tax.template">
1156+ <field name="description">IPI 7%</field>
1157+ <field name="name">IPI 7%</field>
1158+ <field name="tax_group">vat</field>
1159+ <field name="amount">0.07</field>
1160+ <field ref="account_template_244" name="account_collected_id"/>
1161+ <field ref="account_template_44" name="account_paid_id"/>
1162+ <field name="price_include">False</field>
1163+ <field name="tax_discount">True</field>
1164+ <field name="tax_add">True</field>
1165+ <field name="tax_retain">False</field>
1166+ <field name="tax_include">False</field>
1167+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1168+ <field ref="tax_code_4" name="base_code_id"/>
1169+ <field ref="tax_code_4" name="tax_code_id"/>
1170+ <field ref="tax_code_4" name="ref_base_code_id"/>
1171+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1172+ </record>
1173+
1174+ <record id="tax_template_8" model="account.tax.template">
1175+ <field name="description">IPI 8%</field>
1176+ <field name="name">IPI 8%</field>
1177+ <field name="tax_group">vat</field>
1178+ <field name="amount">0.08</field>
1179+ <field ref="account_template_244" name="account_collected_id"/>
1180+ <field ref="account_template_44" name="account_paid_id"/>
1181+ <field name="price_include">False</field>
1182+ <field name="tax_discount">True</field>
1183+ <field name="tax_add">True</field>
1184+ <field name="tax_retain">False</field>
1185+ <field name="tax_include">False</field>
1186+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1187+ <field ref="tax_code_4" name="base_code_id"/>
1188+ <field ref="tax_code_4" name="tax_code_id"/>
1189+ <field ref="tax_code_4" name="ref_base_code_id"/>
1190+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1191+ </record>
1192+
1193+ <record id="tax_template_9" model="account.tax.template">
1194+ <field name="description">IPI 10%</field>
1195+ <field name="name">IPI 10%</field>
1196+ <field name="tax_group">vat</field>
1197+ <field name="amount">0.10</field>
1198+ <field ref="account_template_244" name="account_collected_id"/>
1199+ <field ref="account_template_44" name="account_paid_id"/>
1200+ <field name="price_include">False</field>
1201+ <field name="tax_discount">True</field>
1202+ <field name="tax_add">True</field>
1203+ <field name="tax_retain">False</field>
1204+ <field name="tax_include">False</field>
1205+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1206+ <field ref="tax_code_4" name="base_code_id"/>
1207+ <field ref="tax_code_4" name="tax_code_id"/>
1208+ <field ref="tax_code_4" name="ref_base_code_id"/>
1209+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1210+ </record>
1211+
1212+ <record id="tax_template_10" model="account.tax.template">
1213+ <field name="description">IPI 12%</field>
1214+ <field name="name">IPI 12%</field>
1215+ <field name="tax_group">vat</field>
1216+ <field name="amount">0.12</field>
1217+ <field ref="account_template_244" name="account_collected_id"/>
1218+ <field ref="account_template_44" name="account_paid_id"/>
1219+ <field name="price_include">False</field>
1220+ <field name="tax_discount">True</field>
1221+ <field name="tax_add">True</field>
1222+ <field name="tax_retain">False</field>
1223+ <field name="tax_include">False</field>
1224+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1225+ <field ref="tax_code_4" name="base_code_id"/>
1226+ <field ref="tax_code_4" name="tax_code_id"/>
1227+ <field ref="tax_code_4" name="ref_base_code_id"/>
1228+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1229+ </record>
1230+
1231+ <record id="tax_template_11" model="account.tax.template">
1232+ <field name="description">IPI 13%</field>
1233+ <field name="name">IPI 13%</field>
1234+ <field name="tax_group">vat</field>
1235+ <field name="amount">0.13</field>
1236+ <field ref="account_template_244" name="account_collected_id"/>
1237+ <field ref="account_template_44" name="account_paid_id"/>
1238+ <field name="price_include">False</field>
1239+ <field name="tax_discount">True</field>
1240+ <field name="tax_add">True</field>
1241+ <field name="tax_retain">False</field>
1242+ <field name="tax_include">False</field>
1243+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1244+ <field ref="tax_code_4" name="base_code_id"/>
1245+ <field ref="tax_code_4" name="tax_code_id"/>
1246+ <field ref="tax_code_4" name="ref_base_code_id"/>
1247+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1248+ </record>
1249+
1250+ <record id="tax_template_12" model="account.tax.template">
1251+ <field name="description">IPI 15%</field>
1252+ <field name="name">IPI 15%</field>
1253+ <field name="tax_group">vat</field>
1254+ <field name="amount">0.15</field>
1255+ <field ref="account_template_244" name="account_collected_id"/>
1256+ <field ref="account_template_44" name="account_paid_id"/>
1257+ <field name="price_include">False</field>
1258+ <field name="tax_discount">True</field>
1259+ <field name="tax_add">True</field>
1260+ <field name="tax_retain">False</field>
1261+ <field name="tax_include">False</field>
1262+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1263+ <field ref="tax_code_4" name="base_code_id"/>
1264+ <field ref="tax_code_4" name="tax_code_id"/>
1265+ <field ref="tax_code_4" name="ref_base_code_id"/>
1266+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1267+ </record>
1268+
1269+ <record id="tax_template_13" model="account.tax.template">
1270+ <field name="description">IPI 16%</field>
1271+ <field name="name">IPI 16%</field>
1272+ <field name="tax_group">vat</field>
1273+ <field name="amount">0.16</field>
1274+ <field ref="account_template_244" name="account_collected_id"/>
1275+ <field ref="account_template_44" name="account_paid_id"/>
1276+ <field name="price_include">False</field>
1277+ <field name="tax_discount">True</field>
1278+ <field name="tax_add">True</field>
1279+ <field name="tax_retain">False</field>
1280+ <field name="tax_include">False</field>
1281+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1282+ <field ref="tax_code_4" name="base_code_id"/>
1283+ <field ref="tax_code_4" name="tax_code_id"/>
1284+ <field ref="tax_code_4" name="ref_base_code_id"/>
1285+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1286+ </record>
1287+
1288+ <record id="tax_template_14" model="account.tax.template">
1289+ <field name="description">IPI 18%</field>
1290+ <field name="name">IPI 18%</field>
1291+ <field name="tax_group">vat</field>
1292+ <field name="amount">0.18</field>
1293+ <field ref="account_template_244" name="account_collected_id"/>
1294+ <field ref="account_template_44" name="account_paid_id"/>
1295+ <field name="price_include">False</field>
1296+ <field name="tax_discount">True</field>
1297+ <field name="tax_add">True</field>
1298+ <field name="tax_retain">False</field>
1299+ <field name="tax_include">False</field>
1300+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1301+ <field ref="tax_code_4" name="base_code_id"/>
1302+ <field ref="tax_code_4" name="tax_code_id"/>
1303+ <field ref="tax_code_4" name="ref_base_code_id"/>
1304+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1305+ </record>
1306+
1307+ <record id="tax_template_15" model="account.tax.template">
1308+ <field name="description">IPI 20%</field>
1309+ <field name="name">IPI 20%</field>
1310+ <field name="tax_group">vat</field>
1311+ <field name="amount">0.20</field>
1312+ <field ref="account_template_244" name="account_collected_id"/>
1313+ <field ref="account_template_44" name="account_paid_id"/>
1314+ <field name="price_include">False</field>
1315+ <field name="tax_discount">True</field>
1316+ <field name="tax_add">True</field>
1317+ <field name="tax_retain">False</field>
1318+ <field name="tax_include">False</field>
1319+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1320+ <field ref="tax_code_4" name="base_code_id"/>
1321+ <field ref="tax_code_4" name="tax_code_id"/>
1322+ <field ref="tax_code_4" name="ref_base_code_id"/>
1323+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1324+ </record>
1325+
1326+ <record id="tax_template_16" model="account.tax.template">
1327+ <field name="description">IPI 22%</field>
1328+ <field name="name">IPI 22%</field>
1329+ <field name="tax_group">vat</field>
1330+ <field name="amount">0.22</field>
1331+ <field ref="account_template_244" name="account_collected_id"/>
1332+ <field ref="account_template_44" name="account_paid_id"/>
1333+ <field name="price_include">False</field>
1334+ <field name="tax_discount">False</field>
1335+ <field name="tax_add">True</field>
1336+ <field name="tax_retain">False</field>
1337+ <field name="tax_include">False</field>
1338+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1339+ <field ref="tax_code_4" name="base_code_id"/>
1340+ <field ref="tax_code_4" name="tax_code_id"/>
1341+ <field ref="tax_code_4" name="ref_base_code_id"/>
1342+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1343+ </record>
1344+
1345+ <record id="tax_template_17" model="account.tax.template">
1346+ <field name="description">IPI 25%</field>
1347+ <field name="name">IPI 25%</field>
1348+ <field name="tax_group">vat</field>
1349+ <field name="amount">0.25</field>
1350+ <field ref="account_template_244" name="account_collected_id"/>
1351+ <field ref="account_template_44" name="account_paid_id"/>
1352+ <field name="price_include">False</field>
1353+ <field name="tax_discount">True</field>
1354+ <field name="tax_add">True</field>
1355+ <field name="tax_retain">False</field>
1356+ <field name="tax_include">False</field>
1357+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1358+ <field ref="tax_code_4" name="base_code_id"/>
1359+ <field ref="tax_code_4" name="tax_code_id"/>
1360+ <field ref="tax_code_4" name="ref_base_code_id"/>
1361+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1362+ </record>
1363+
1364+ <record id="tax_template_18" model="account.tax.template">
1365+ <field name="description">IPI 27%</field>
1366+ <field name="name">IPI 27%</field>
1367+ <field name="tax_group">vat</field>
1368+ <field name="amount">0.27</field>
1369+ <field ref="account_template_244" name="account_collected_id"/>
1370+ <field ref="account_template_44" name="account_paid_id"/>
1371+ <field name="price_include">False</field>
1372+ <field name="tax_discount">True</field>
1373+ <field name="tax_add">True</field>
1374+ <field name="tax_retain">False</field>
1375+ <field name="tax_include">False</field>
1376+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1377+ <field ref="tax_code_4" name="base_code_id"/>
1378+ <field ref="tax_code_4" name="tax_code_id"/>
1379+ <field ref="tax_code_4" name="ref_base_code_id"/>
1380+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1381+ </record>
1382+
1383+ <record id="tax_template_19" model="account.tax.template">
1384+ <field name="description">IPI 30%</field>
1385+ <field name="name">IPI 30%</field>
1386+ <field name="tax_group">vat</field>
1387+ <field name="amount">0.30</field>
1388+ <field ref="account_template_244" name="account_collected_id"/>
1389+ <field ref="account_template_44" name="account_paid_id"/>
1390+ <field name="price_include">False</field>
1391+ <field name="tax_discount">True</field>
1392+ <field name="tax_add">True</field>
1393+ <field name="tax_retain">False</field>
1394+ <field name="tax_include">False</field>
1395+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1396+ <field ref="tax_code_4" name="base_code_id"/>
1397+ <field ref="tax_code_4" name="tax_code_id"/>
1398+ <field ref="tax_code_4" name="ref_base_code_id"/>
1399+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1400+ </record>
1401+
1402+ <record id="tax_template_20" model="account.tax.template">
1403+ <field name="description">IPI 35%</field>
1404+ <field name="name">IPI 35%</field>
1405+ <field name="tax_group">vat</field>
1406+ <field name="amount">0.35</field>
1407+ <field ref="account_template_244" name="account_collected_id"/>
1408+ <field ref="account_template_44" name="account_paid_id"/>
1409+ <field name="price_include">False</field>
1410+ <field name="tax_discount">True</field>
1411+ <field name="tax_add">True</field>
1412+ <field name="tax_retain">False</field>
1413+ <field name="tax_include">False</field>
1414+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1415+ <field ref="tax_code_4" name="base_code_id"/>
1416+ <field ref="tax_code_4" name="tax_code_id"/>
1417+ <field ref="tax_code_4" name="ref_base_code_id"/>
1418+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1419+ </record>
1420+
1421+ <record id="tax_template_21" model="account.tax.template">
1422+ <field name="description">IPI 40%</field>
1423+ <field name="name">IPI 40%</field>
1424+ <field name="tax_group">vat</field>
1425+ <field name="amount">0.40</field>
1426+ <field ref="account_template_244" name="account_collected_id"/>
1427+ <field ref="account_template_44" name="account_paid_id"/>
1428+ <field name="price_include">False</field>
1429+ <field name="tax_discount">True</field>
1430+ <field name="tax_add">True</field>
1431+ <field name="tax_retain">False</field>
1432+ <field name="tax_include">False</field>
1433+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1434+ <field ref="tax_code_4" name="base_code_id"/>
1435+ <field ref="tax_code_4" name="tax_code_id"/>
1436+ <field ref="tax_code_4" name="ref_base_code_id"/>
1437+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1438+ </record>
1439+
1440+ <record id="tax_template_22" model="account.tax.template">
1441+ <field name="description">IPI 42%</field>
1442+ <field name="name">IPI 42%</field>
1443+ <field name="tax_group">vat</field>
1444+ <field name="amount">0.42</field>
1445+ <field ref="account_template_244" name="account_collected_id"/>
1446+ <field ref="account_template_44" name="account_paid_id"/>
1447+ <field name="price_include">False</field>
1448+ <field name="tax_discount">True</field>
1449+ <field name="tax_add">True</field>
1450+ <field name="tax_retain">False</field>
1451+ <field name="tax_include">False</field>
1452+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1453+ <field ref="tax_code_4" name="base_code_id"/>
1454+ <field ref="tax_code_4" name="tax_code_id"/>
1455+ <field ref="tax_code_4" name="ref_base_code_id"/>
1456+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1457+ </record>
1458+
1459+ <record id="tax_template_23" model="account.tax.template">
1460+ <field name="description">IPI 45%</field>
1461+ <field name="name">IPI 45%</field>
1462+ <field name="tax_group">vat</field>
1463+ <field name="amount">0.45</field>
1464+ <field ref="account_template_244" name="account_collected_id"/>
1465+ <field ref="account_template_44" name="account_paid_id"/>
1466+ <field name="price_include">False</field>
1467+ <field name="tax_discount">True</field>
1468+ <field name="tax_add">True</field>
1469+ <field name="tax_retain">False</field>
1470+ <field name="tax_include">False</field>
1471+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1472+ <field ref="tax_code_4" name="base_code_id"/>
1473+ <field ref="tax_code_4" name="tax_code_id"/>
1474+ <field ref="tax_code_4" name="ref_base_code_id"/>
1475+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1476+ </record>
1477+
1478+ <record id="tax_template_24" model="account.tax.template">
1479+ <field name="description">IPI 50%</field>
1480+ <field name="name">IPI 50%</field>
1481+ <field name="tax_group">vat</field>
1482+ <field name="amount">0.50</field>
1483+ <field ref="account_template_244" name="account_collected_id"/>
1484+ <field ref="account_template_44" name="account_paid_id"/>
1485+ <field name="price_include">False</field>
1486+ <field name="tax_discount">True</field>
1487+ <field name="tax_add">True</field>
1488+ <field name="tax_retain">False</field>
1489+ <field name="tax_include">False</field>
1490+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1491+ <field ref="tax_code_4" name="base_code_id"/>
1492+ <field ref="tax_code_4" name="tax_code_id"/>
1493+ <field ref="tax_code_4" name="ref_base_code_id"/>
1494+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1495+ </record>
1496+
1497+ <record id="tax_template_25" model="account.tax.template">
1498+ <field name="description">IPI 60%</field>
1499+ <field name="name">IPI 60%</field>
1500+ <field name="tax_group">vat</field>
1501+ <field name="amount">0.60</field>
1502+ <field ref="account_template_244" name="account_collected_id"/>
1503+ <field ref="account_template_44" name="account_paid_id"/>
1504+ <field name="price_include">False</field>
1505+ <field name="tax_discount">True</field>
1506+ <field name="tax_add">True</field>
1507+ <field name="tax_retain">False</field>
1508+ <field name="tax_include">False</field>
1509+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1510+ <field ref="tax_code_4" name="base_code_id"/>
1511+ <field ref="tax_code_4" name="tax_code_id"/>
1512+ <field ref="tax_code_4" name="ref_base_code_id"/>
1513+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1514+ </record>
1515+
1516+ <record id="tax_template_26" model="account.tax.template">
1517+ <field name="description">IPI 330%</field>
1518+ <field name="name">IPI 330%</field>
1519+ <field name="tax_group">vat</field>
1520+ <field name="amount">3.30</field>
1521+ <field ref="account_template_244" name="account_collected_id"/>
1522+ <field ref="account_template_44" name="account_paid_id"/>
1523+ <field name="price_include">False</field>
1524+ <field name="tax_discount">True</field>
1525+ <field name="tax_add">True</field>
1526+ <field name="tax_retain">False</field>
1527+ <field name="tax_include">False</field>
1528+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1529+ <field ref="tax_code_4" name="base_code_id"/>
1530+ <field ref="tax_code_4" name="tax_code_id"/>
1531+ <field ref="tax_code_4" name="ref_base_code_id"/>
1532+ <field ref="tax_code_4" name="ref_tax_code_id"/>
1533+ </record>
1534+
1535+ <record id="tax_template_27" model="account.tax.template">
1536+ <field name="description">ICMS Interno</field>
1537+ <field name="name">ICMS Interno</field>
1538+ <field name="tax_group">vat</field>
1539+ <field name="amount">0.00</field>
1540+ <field ref="account_template_241" name="account_collected_id"/>
1541+ <field ref="account_template_42" name="account_paid_id"/>
1542+ <field name="price_include">False</field>
1543+ <field name="tax_discount">True</field>
1544+ <field name="tax_add">False</field>
1545+ <field name="tax_retain">False</field>
1546+ <field name="tax_include">True</field>
1547+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1548+ <field ref="tax_code_1" name="base_code_id"/>
1549+ <field ref="tax_code_1" name="tax_code_id"/>
1550+ <field ref="tax_code_1" name="ref_base_code_id"/>
1551+ <field ref="tax_code_1" name="ref_tax_code_id"/>
1552+ </record>
1553+
1554+ <record id="tax_template_28" model="account.tax.template">
1555+ <field name="description">ICMS Externo</field>
1556+ <field name="name">ICMS Externo</field>
1557+ <field name="tax_group">vat</field>
1558+ <field name="amount">0.00</field>
1559+ <field ref="account_template_241" name="account_collected_id"/>
1560+ <field ref="account_template_42" name="account_paid_id"/>
1561+ <field name="price_include">False</field>
1562+ <field name="tax_discount">True</field>
1563+ <field name="tax_add">False</field>
1564+ <field name="tax_retain">False</field>
1565+ <field name="tax_include">True</field>
1566+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1567+ <field ref="tax_code_1" name="base_code_id"/>
1568+ <field ref="tax_code_1" name="tax_code_id"/>
1569+ <field ref="tax_code_1" name="ref_base_code_id"/>
1570+ <field ref="tax_code_1" name="ref_tax_code_id"/>
1571+ </record>
1572+
1573+ <record id="tax_template_29" model="account.tax.template">
1574+ <field name="description">ICMS Subist</field>
1575+ <field name="name">ICMS Subist</field>
1576+ <field name="tax_group">vat</field>
1577+ <field name="amount">0.00</field>
1578+ <field name="price_include">False</field>
1579+ <field name="tax_discount">True</field>
1580+ <field name="tax_add">False</field>
1581+ <field name="tax_retain">False</field>
1582+ <field name="tax_include">True</field>
1583+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1584+ <field ref="tax_code_3" name="base_code_id"/>
1585+ <field ref="tax_code_3" name="tax_code_id"/>
1586+ <field ref="tax_code_3" name="ref_base_code_id"/>
1587+ <field ref="tax_code_3" name="ref_tax_code_id"/>
1588+ </record>
1589+
1590+ <record id="tax_template_30" model="account.tax.template">
1591+ <field name="description">ICMS 7%</field>
1592+ <field name="name">ICMS 7%</field>
1593+ <field name="tax_group">vat</field>
1594+ <field name="amount">0.07</field>
1595+ <field ref="account_template_241" name="account_collected_id"/>
1596+ <field ref="account_template_42" name="account_paid_id"/>
1597+ <field name="price_include">False</field>
1598+ <field name="tax_discount">True</field>
1599+ <field name="tax_add">False</field>
1600+ <field name="tax_retain">False</field>
1601+ <field name="tax_include">True</field>
1602+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1603+ <field ref="tax_code_1" name="base_code_id"/>
1604+ <field ref="tax_code_1" name="tax_code_id"/>
1605+ <field ref="tax_code_1" name="ref_base_code_id"/>
1606+ <field ref="tax_code_1" name="ref_tax_code_id"/>
1607+ </record>
1608+
1609+ <record id="tax_template_31" model="account.tax.template">
1610+ <field name="description">ICMS 12%</field>
1611+ <field name="name">ICMS 12%</field>
1612+ <field name="tax_group">vat</field>
1613+ <field name="amount">0.12</field>
1614+ <field ref="account_template_241" name="account_collected_id"/>
1615+ <field ref="account_template_42" name="account_paid_id"/>
1616+ <field name="price_include">False</field>
1617+ <field name="tax_discount">True</field>
1618+ <field name="tax_add">False</field>
1619+ <field name="tax_retain">False</field>
1620+ <field name="tax_include">True</field>
1621+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1622+ <field ref="tax_code_1" name="base_code_id"/>
1623+ <field ref="tax_code_1" name="tax_code_id"/>
1624+ <field ref="tax_code_1" name="ref_base_code_id"/>
1625+ <field ref="tax_code_1" name="ref_tax_code_id"/>
1626+ </record>
1627+
1628+ <record id="tax_template_32" model="account.tax.template">
1629+ <field name="description">ICMS 19%</field>
1630+ <field name="name">ICMS 19%</field>
1631+ <field name="tax_group">vat</field>
1632+ <field name="amount">0.19</field>
1633+ <field ref="account_template_241" name="account_collected_id"/>
1634+ <field ref="account_template_42" name="account_paid_id"/>
1635+ <field name="price_include">False</field>
1636+ <field name="tax_discount">True</field>
1637+ <field name="tax_add">False</field>
1638+ <field name="tax_retain">False</field>
1639+ <field name="tax_include">True</field>
1640+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1641+ <field ref="tax_code_1" name="base_code_id"/>
1642+ <field ref="tax_code_1" name="tax_code_id"/>
1643+ <field ref="tax_code_1" name="ref_base_code_id"/>
1644+ <field ref="tax_code_1" name="ref_tax_code_id"/>
1645+ </record>
1646+
1647+ <record id="tax_template_33" model="account.tax.template">
1648+ <field name="description">ICMS 26%</field>
1649+ <field name="name">ICMS 26%</field>
1650+ <field name="tax_group">vat</field>
1651+ <field name="amount">0.26</field>
1652+ <field ref="account_template_241" name="account_collected_id"/>
1653+ <field ref="account_template_42" name="account_paid_id"/>
1654+ <field name="price_include">False</field>
1655+ <field name="tax_discount">True</field>
1656+ <field name="tax_add">False</field>
1657+ <field name="tax_retain">False</field>
1658+ <field name="tax_include">True</field>
1659+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1660+ <field ref="tax_code_1" name="base_code_id"/>
1661+ <field ref="tax_code_1" name="tax_code_id"/>
1662+ <field ref="tax_code_1" name="ref_base_code_id"/>
1663+ <field ref="tax_code_1" name="ref_tax_code_id"/>
1664+ </record>
1665+
1666+ <record id="tax_template_34" model="account.tax.template">
1667+ <field name="description">PIS</field>
1668+ <field name="name">PIS</field>
1669+ <field name="tax_group">vat</field>
1670+ <field name="amount">0.00</field>
1671+ <field ref="account_template_243" name="account_collected_id"/>
1672+ <field ref="account_template_49" name="account_paid_id"/>
1673+ <field name="price_include">False</field>
1674+ <field name="tax_discount">True</field>
1675+ <field name="tax_add">False</field>
1676+ <field name="tax_retain">False</field>
1677+ <field name="tax_include">True</field>
1678+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1679+ <field ref="tax_code_5" name="base_code_id"/>
1680+ <field ref="tax_code_5" name="tax_code_id"/>
1681+ <field ref="tax_code_5" name="ref_base_code_id"/>
1682+ <field ref="tax_code_5" name="ref_tax_code_id"/>
1683+ </record>
1684+
1685+ <record id="tax_template_35" model="account.tax.template">
1686+ <field name="description">PIS 0,65%</field>
1687+ <field name="name">PIS 0,65%</field>
1688+ <field name="tax_group">vat</field>
1689+ <field name="amount">0.0065</field>
1690+ <field ref="account_template_243" name="account_collected_id"/>
1691+ <field ref="account_template_49" name="account_paid_id"/>
1692+ <field name="price_include">False</field>
1693+ <field name="tax_discount">True</field>
1694+ <field name="tax_add">False</field>
1695+ <field name="tax_retain">False</field>
1696+ <field name="tax_include">True</field>
1697+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1698+ <field ref="tax_code_5" name="base_code_id"/>
1699+ <field ref="tax_code_5" name="tax_code_id"/>
1700+ <field ref="tax_code_5" name="ref_base_code_id"/>
1701+ <field ref="tax_code_5" name="ref_tax_code_id"/>
1702+ </record>
1703+
1704+ <record id="tax_template_36" model="account.tax.template">
1705+ <field name="description">COFINS</field>
1706+ <field name="name">COFINS</field>
1707+ <field name="tax_group">vat</field>
1708+ <field name="amount">0.00</field>
1709+ <field ref="account_template_242" name="account_collected_id"/>
1710+ <field ref="account_template_39" name="account_paid_id"/>
1711+ <field name="price_include">False</field>
1712+ <field name="tax_discount">True</field>
1713+ <field name="tax_add">False</field>
1714+ <field name="tax_retain">False</field>
1715+ <field name="tax_include">True</field>
1716+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1717+ <field ref="tax_code_6" name="base_code_id"/>
1718+ <field ref="tax_code_6" name="tax_code_id"/>
1719+ <field ref="tax_code_6" name="ref_base_code_id"/>
1720+ <field ref="tax_code_6" name="ref_tax_code_id"/>
1721+ </record>
1722+
1723+ <record id="tax_template_37" model="account.tax.template">
1724+ <field name="description">COFINS 3%</field>
1725+ <field name="name">COFINS 3%</field>
1726+ <field name="tax_group">vat</field>
1727+ <field name="amount">0.03</field>
1728+ <field ref="account_template_242" name="account_collected_id"/>
1729+ <field ref="account_template_39" name="account_paid_id"/>
1730+ <field name="price_include">False</field>
1731+ <field name="tax_discount">True</field>
1732+ <field name="tax_add">False</field>
1733+ <field name="tax_retain">False</field>
1734+ <field name="tax_include">True</field>
1735+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1736+ <field ref="tax_code_6" name="base_code_id"/>
1737+ <field ref="tax_code_6" name="tax_code_id"/>
1738+ <field ref="tax_code_6" name="ref_base_code_id"/>
1739+ <field ref="tax_code_6" name="ref_tax_code_id"/>
1740+ </record>
1741+
1742+ <record id="tax_template_38" model="account.tax.template">
1743+ <field name="description">IRPJ</field>
1744+ <field name="name">IRPJ</field>
1745+ <field name="tax_group">vat</field>
1746+ <field name="amount">0.00</field>
1747+ <field name="price_include">False</field>
1748+ <field name="tax_discount">True</field>
1749+ <field name="tax_add">False</field>
1750+ <field name="tax_retain">False</field>
1751+ <field name="tax_include">True</field>
1752+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1753+ <field ref="tax_code_7" name="base_code_id"/>
1754+ <field ref="tax_code_7" name="tax_code_id"/>
1755+ <field ref="tax_code_7" name="ref_base_code_id"/>
1756+ <field ref="tax_code_7" name="ref_tax_code_id"/>
1757+ </record>
1758+
1759+ <record id="tax_template_39" model="account.tax.template">
1760+ <field name="description">IR</field>
1761+ <field name="name">IR</field>
1762+ <field name="tax_group">vat</field>
1763+ <field name="amount">0.00</field>
1764+ <field name="price_include">False</field>
1765+ <field name="tax_discount">True</field>
1766+ <field name="tax_add">False</field>
1767+ <field name="tax_retain">False</field>
1768+ <field name="tax_include">True</field>
1769+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1770+ <field ref="tax_code_8" name="base_code_id"/>
1771+ <field ref="tax_code_8" name="tax_code_id"/>
1772+ <field ref="tax_code_8" name="ref_base_code_id"/>
1773+ <field ref="tax_code_8" name="ref_tax_code_id"/>
1774+ </record>
1775+
1776+ <record id="tax_template_40" model="account.tax.template">
1777+ <field name="description">ISS</field>
1778+ <field name="name">ISS</field>
1779+ <field name="tax_group">vat</field>
1780+ <field name="amount">0.00</field>
1781+ <field name="price_include">False</field>
1782+ <field name="tax_discount">True</field>
1783+ <field name="tax_add">True</field>
1784+ <field name="tax_retain">False</field>
1785+ <field name="tax_include">False</field>
1786+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1787+ <field ref="tax_code_9" name="base_code_id"/>
1788+ <field ref="tax_code_9" name="tax_code_id"/>
1789+ <field ref="tax_code_9" name="ref_base_code_id"/>
1790+ <field ref="tax_code_9" name="ref_tax_code_id"/>
1791+ </record>
1792+
1793+ <record id="tax_template_41" model="account.tax.template">
1794+ <field name="description">CSLL</field>
1795+ <field name="name">CSLL</field>
1796+ <field name="tax_group">vat</field>
1797+ <field name="amount">0.00</field>
1798+ <field name="price_include">False</field>
1799+ <field name="tax_discount">True</field>
1800+ <field name="tax_add">False</field>
1801+ <field name="tax_retain">False</field>
1802+ <field name="tax_include">True</field>
1803+ <field ref="l10n_br_account_chart_template" name="chart_template_id"/>
1804+ <field ref="tax_code_10" name="base_code_id"/>
1805+ <field ref="tax_code_10" name="tax_code_id"/>
1806+ <field ref="tax_code_10" name="ref_base_code_id"/>
1807+ <field ref="tax_code_10" name="ref_tax_code_id"/>
1808+ </record>
1809+ </data>
1810+</openerp>
1811
1812=== added file 'l10n_br/data/l10n_br_account_chart_template.xml'
1813--- l10n_br/data/l10n_br_account_chart_template.xml 1970-01-01 00:00:00 +0000
1814+++ l10n_br/data/l10n_br_account_chart_template.xml 2012-05-03 23:39:20 +0000
1815@@ -0,0 +1,27 @@
1816+<?xml version="1.0"?>
1817+<openerp>
1818+ <data>
1819+
1820+ <record id="l10n_br_account_chart_template" model="account.chart.template">
1821+ <field name="name">Planilha de Contas Brasileira</field>
1822+ <field name="account_root_id" ref="account_template_1" />
1823+ <field name="tax_code_root_id" ref="tax_code_chart_root"/>
1824+ <field name="bank_account_view_id" ref="account_template_9"/>
1825+ <field name="property_account_receivable" ref="account_template_16"/>
1826+ <field name="property_account_payable" ref="account_template_204" />
1827+ <field name="property_account_expense_categ" ref="account_template_330" />
1828+ <field name="property_account_income_categ" ref="account_template_552" />
1829+ </record>
1830+
1831+ <record id="config_call_account_template_brazilian_localization" model="ir.actions.todo">
1832+ <field name="name">Generate Chart of Accounts from a Chart Template</field>
1833+ <field name="note">Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated.
1834+ This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template.</field>
1835+ <field name="action_id" ref="account.action_wizard_multi_chart"/>
1836+ <field name="state">open</field>
1837+ <field name="type">once</field>
1838+ </record>
1839+
1840+ </data>
1841+
1842+</openerp>
1843
1844=== added file 'l10n_br/data/l10n_br_data.xml'
1845--- l10n_br/data/l10n_br_data.xml 1970-01-01 00:00:00 +0000
1846+++ l10n_br/data/l10n_br_data.xml 2012-05-03 23:39:20 +0000
1847@@ -0,0 +1,673 @@
1848+<?xml version="1.0" encoding="utf-8"?>
1849+<openerp>
1850+ <data noupdate="1">
1851+
1852+ <!-- l10n_br_account.cst.template -->
1853+ <record id="l10n_br_cst_template_1" model="l10n_br_account.cst.template">
1854+ <field name="code">01</field>
1855+ <field name="name">Operação Tributável com Alíquota Básica</field>
1856+ <field name="tax_code_template_id" ref="tax_code_5" />
1857+ </record>
1858+
1859+ <record id="l10n_br_cst_template_2" model="l10n_br_account.cst.template">
1860+ <field name="code">02</field>
1861+ <field name="name">Operação Tributável com Alíquota Diferenciada</field>
1862+ <field name="tax_code_template_id" ref="tax_code_5" />
1863+ </record>
1864+
1865+ <record id="l10n_br_cst_template_3" model="l10n_br_account.cst.template">
1866+ <field name="code">03</field>
1867+ <field name="name">Operação Tributável com Alíquota por Unidade de Medida de Produto</field>
1868+ <field name="tax_code_template_id" ref="tax_code_5" />
1869+ </record>
1870+
1871+ <record id="l10n_br_cst_template_4" model="l10n_br_account.cst.template">
1872+ <field name="code">04</field>
1873+ <field name="name">Operação Tributável Monofásica - Revenda a Alíquota Zero</field>
1874+ <field name="tax_code_template_id" ref="tax_code_5" />
1875+ </record>
1876+
1877+ <record id="l10n_br_cst_template_5" model="l10n_br_account.cst.template">
1878+ <field name="code">05</field>
1879+ <field name="name">Operação Tributável por Substituição Tributária</field>
1880+ <field name="tax_code_template_id" ref="tax_code_5" />
1881+ </record>
1882+
1883+ <record id="l10n_br_cst_template_6" model="l10n_br_account.cst.template">
1884+ <field name="code">06</field>
1885+ <field name="name">Operação Tributável a Alíquota zero</field>
1886+ <field name="tax_code_template_id" ref="tax_code_5" />
1887+ </record>
1888+
1889+ <record id="l10n_br_cst_template_7" model="l10n_br_account.cst.template">
1890+ <field name="code">07</field>
1891+ <field name="name">Operação Isenta da Contribuição</field>
1892+ <field name="tax_code_template_id" ref="tax_code_5" />
1893+ </record>
1894+
1895+ <record id="l10n_br_cst_template_8" model="l10n_br_account.cst.template">
1896+ <field name="code">08</field>
1897+ <field name="name">Operação sem Incidência da Contribuição</field>
1898+ <field name="tax_code_template_id" ref="tax_code_5" />
1899+ </record>
1900+
1901+ <record id="l10n_br_cst_template_9" model="l10n_br_account.cst.template">
1902+ <field name="code">09</field>
1903+ <field name="name">Operação com Suspensão da Contribuição</field>
1904+ <field name="tax_code_template_id" ref="tax_code_5" />
1905+ </record>
1906+
1907+ <record id="l10n_br_cst_template_10" model="l10n_br_account.cst.template">
1908+ <field name="code">49</field>
1909+ <field name="name">Outras Operações de Saída</field>
1910+ <field name="tax_code_template_id" ref="tax_code_5" />
1911+ </record>
1912+
1913+ <record id="l10n_br_cst_template_11" model="l10n_br_account.cst.template">
1914+ <field name="code">50</field>
1915+ <field name="name">Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno</field>
1916+ <field name="tax_code_template_id" ref="tax_code_5" />
1917+ </record>
1918+
1919+ <record id="l10n_br_cst_template_12" model="l10n_br_account.cst.template">
1920+ <field name="code">51</field>
1921+ <field name="name">Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno</field>
1922+ <field name="tax_code_template_id" ref="tax_code_5" />
1923+ </record>
1924+
1925+ <record id="l10n_br_cst_template_13" model="l10n_br_account.cst.template">
1926+ <field name="code">52</field>
1927+ <field name="name">Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação</field>
1928+ <field name="tax_code_template_id" ref="tax_code_5" />
1929+ </record>
1930+
1931+ <record id="l10n_br_cst_template_14" model="l10n_br_account.cst.template">
1932+ <field name="code">53</field>
1933+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno</field>
1934+ <field name="tax_code_template_id" ref="tax_code_5" />
1935+ </record>
1936+
1937+ <record id="l10n_br_cst_template_15" model="l10n_br_account.cst.template">
1938+ <field name="code">54</field>
1939+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação</field>
1940+ <field name="tax_code_template_id" ref="tax_code_5" />
1941+ </record>
1942+
1943+ <record id="l10n_br_cst_template_16" model="l10n_br_account.cst.template">
1944+ <field name="code">55</field>
1945+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Não Tributadas no Mercado Interno e de Exportação</field>
1946+ <field name="tax_code_template_id" ref="tax_code_5" />
1947+ </record>
1948+
1949+ <record id="l10n_br_cst_template_17" model="l10n_br_account.cst.template">
1950+ <field name="code">56</field>
1951+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno e de Exportação</field>
1952+ <field name="tax_code_template_id" ref="tax_code_5" />
1953+ </record>
1954+
1955+ <record id="l10n_br_cst_template_18" model="l10n_br_account.cst.template">
1956+ <field name="code">60</field>
1957+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno</field>
1958+ <field name="tax_code_template_id" ref="tax_code_5" />
1959+ </record>
1960+
1961+ <record id="l10n_br_cst_template_19" model="l10n_br_account.cst.template">
1962+ <field name="code">61</field>
1963+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno</field>
1964+ <field name="tax_code_template_id" ref="tax_code_5" />
1965+ </record>
1966+
1967+ <record id="l10n_br_cst_template_20" model="l10n_br_account.cst.template">
1968+ <field name="code">62</field>
1969+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação</field>
1970+ <field name="tax_code_template_id" ref="tax_code_5" />
1971+ </record>
1972+
1973+ <record id="l10n_br_cst_template_21" model="l10n_br_account.cst.template">
1974+ <field name="code">63</field>
1975+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno</field>
1976+ <field name="tax_code_template_id" ref="tax_code_5" />
1977+ </record>
1978+
1979+ <record id="l10n_br_cst_template_22" model="l10n_br_account.cst.template">
1980+ <field name="code">64</field>
1981+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação</field>
1982+ <field name="tax_code_template_id" ref="tax_code_5" />
1983+ </record>
1984+
1985+ <record id="l10n_br_cst_template_23" model="l10n_br_account.cst.template">
1986+ <field name="code">65</field>
1987+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação</field>
1988+ <field name="tax_code_template_id" ref="tax_code_5" />
1989+ </record>
1990+
1991+ <record id="l10n_br_cst_template_24" model="l10n_br_account.cst.template">
1992+ <field name="code">66</field>
1993+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno e de Exportação</field>
1994+ <field name="tax_code_template_id" ref="tax_code_5" />
1995+ </record>
1996+
1997+ <record id="l10n_br_cst_template_25" model="l10n_br_account.cst.template">
1998+ <field name="code">67</field>
1999+ <field name="name">Crédito Presumido - Outras Operações</field>
2000+ <field name="tax_code_template_id" ref="tax_code_5" />
2001+ </record>
2002+
2003+ <record id="l10n_br_cst_template_26" model="l10n_br_account.cst.template">
2004+ <field name="code">70</field>
2005+ <field name="name">Operação de Aquisição sem Direito a Crédito</field>
2006+ <field name="tax_code_template_id" ref="tax_code_5" />
2007+ </record>
2008+
2009+ <record id="l10n_br_cst_template_27" model="l10n_br_account.cst.template">
2010+ <field name="code">71</field>
2011+ <field name="name">Operação de Aquisição com Isenção</field>
2012+ <field name="tax_code_template_id" ref="tax_code_5" />
2013+ </record>
2014+
2015+ <record id="l10n_br_cst_template_28" model="l10n_br_account.cst.template">
2016+ <field name="code">72</field>
2017+ <field name="name">Operação de Aquisição com Suspensão</field>
2018+ <field name="tax_code_template_id" ref="tax_code_5" />
2019+ </record>
2020+
2021+ <record id="l10n_br_cst_template_29" model="l10n_br_account.cst.template">
2022+ <field name="code">73</field>
2023+ <field name="name">Operação de Aquisição a Alíquota Zero</field>
2024+ <field name="tax_code_template_id" ref="tax_code_5" />
2025+ </record>
2026+
2027+ <record id="l10n_br_cst_template_30" model="l10n_br_account.cst.template">
2028+ <field name="code">74</field>
2029+ <field name="name">Operação de Aquisição sem Incidência da Contribuição</field>
2030+ <field name="tax_code_template_id" ref="tax_code_5" />
2031+ </record>
2032+
2033+ <record id="l10n_br_cst_template_31" model="l10n_br_account.cst.template">
2034+ <field name="code">75</field>
2035+ <field name="name">Operação de Aquisição por Substituição Tributária</field>
2036+ <field name="tax_code_template_id" ref="tax_code_5" />
2037+ </record>
2038+
2039+ <record id="l10n_br_cst_template_32" model="l10n_br_account.cst.template">
2040+ <field name="code">98</field>
2041+ <field name="name">Outras Operações de Entrada</field>
2042+ <field name="tax_code_template_id" ref="tax_code_5" />
2043+ </record>
2044+
2045+ <record id="l10n_br_cst_template_33" model="l10n_br_account.cst.template">
2046+ <field name="code">99</field>
2047+ <field name="name">Outras Operações</field>
2048+ <field name="tax_code_template_id" ref="tax_code_5" />
2049+ </record>
2050+
2051+ <record id="l10n_br_cst_template_34" model="l10n_br_account.cst.template">
2052+ <field name="code">01</field>
2053+ <field name="name">Operação Tributável com Alíquota Básica</field>
2054+ <field name="tax_code_template_id" ref="tax_code_4" />
2055+ </record>
2056+
2057+ <record id="l10n_br_cst_template_35" model="l10n_br_account.cst.template">
2058+ <field name="code">02</field>
2059+ <field name="name">Operação Tributável com Alíquota Diferenciada</field>
2060+ <field name="tax_code_template_id" ref="tax_code_4" />
2061+ </record>
2062+
2063+ <record id="l10n_br_cst_template_36" model="l10n_br_account.cst.template">
2064+ <field name="code">03</field>
2065+ <field name="name">Operação Tributável com Alíquota por Unidade de Medida de Produto</field>
2066+ <field name="tax_code_template_id" ref="tax_code_4" />
2067+ </record>
2068+
2069+ <record id="l10n_br_cst_template_37" model="l10n_br_account.cst.template">
2070+ <field name="code">04</field>
2071+ <field name="name">Operação Tributável Monofásica - Revenda a Alíquota Zero</field>
2072+ <field name="tax_code_template_id" ref="tax_code_4" />
2073+ </record>
2074+
2075+ <record id="l10n_br_cst_template_38" model="l10n_br_account.cst.template">
2076+ <field name="code">05</field>
2077+ <field name="name">Operação Tributável por Substituição Tributária</field>
2078+ <field name="tax_code_template_id" ref="tax_code_4" />
2079+ </record>
2080+
2081+ <record id="l10n_br_cst_template_39" model="l10n_br_account.cst.template">
2082+ <field name="code">06</field>
2083+ <field name="name">Operação Tributável a Alíquota Zero</field>
2084+ <field name="tax_code_template_id" ref="tax_code_4" />
2085+ </record>
2086+
2087+ <record id="l10n_br_cst_template_40" model="l10n_br_account.cst.template">
2088+ <field name="code">07</field>
2089+ <field name="name">Operação Isenta da Contribuição</field>
2090+ <field name="tax_code_template_id" ref="tax_code_4" />
2091+ </record>
2092+
2093+ <record id="l10n_br_cst_template_41" model="l10n_br_account.cst.template">
2094+ <field name="code">08</field>
2095+ <field name="name">Operação sem Incidência da Contribuição</field>
2096+ <field name="tax_code_template_id" ref="tax_code_4" />
2097+ </record>
2098+
2099+ <record id="l10n_br_cst_template_42" model="l10n_br_account.cst.template">
2100+ <field name="code">09</field>
2101+ <field name="name">Operação com Suspensão da Contribuição</field>
2102+ <field name="tax_code_template_id" ref="tax_code_4" />
2103+ </record>
2104+
2105+ <record id="l10n_br_cst_template_43" model="l10n_br_account.cst.template">
2106+ <field name="code">49</field>
2107+ <field name="name">Outras Operações de Saída</field>
2108+ <field name="tax_code_template_id" ref="tax_code_4" />
2109+ </record>
2110+
2111+ <record id="l10n_br_cst_template_44" model="l10n_br_account.cst.template">
2112+ <field name="code">50</field>
2113+ <field name="name">Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno</field>
2114+ <field name="tax_code_template_id" ref="tax_code_4" />
2115+ </record>
2116+
2117+ <record id="l10n_br_cst_template_45" model="l10n_br_account.cst.template">
2118+ <field name="code">51</field>
2119+ <field name="name">Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Não Tributada no Mercado Interno</field>
2120+ <field name="tax_code_template_id" ref="tax_code_4" />
2121+ </record>
2122+
2123+ <record id="l10n_br_cst_template_46" model="l10n_br_account.cst.template">
2124+ <field name="code">52</field>
2125+ <field name="name">Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação</field>
2126+ <field name="tax_code_template_id" ref="tax_code_4" />
2127+ </record>
2128+
2129+ <record id="l10n_br_cst_template_47" model="l10n_br_account.cst.template">
2130+ <field name="code">53</field>
2131+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno</field>
2132+ <field name="tax_code_template_id" ref="tax_code_4" />
2133+ </record>
2134+
2135+ <record id="l10n_br_cst_template_48" model="l10n_br_account.cst.template">
2136+ <field name="code">54</field>
2137+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação</field>
2138+ <field name="tax_code_template_id" ref="tax_code_4" />
2139+ </record>
2140+
2141+ <record id="l10n_br_cst_template_49" model="l10n_br_account.cst.template">
2142+ <field name="code">55</field>
2143+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação</field>
2144+ <field name="tax_code_template_id" ref="tax_code_4" />
2145+ </record>
2146+
2147+ <record id="l10n_br_cst_template_50" model="l10n_br_account.cst.template">
2148+ <field name="code">56</field>
2149+ <field name="name">Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação</field>
2150+ <field name="tax_code_template_id" ref="tax_code_4" />
2151+ </record>
2152+
2153+ <record id="l10n_br_cst_template_51" model="l10n_br_account.cst.template">
2154+ <field name="code">60</field>
2155+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno</field>
2156+ <field name="tax_code_template_id" ref="tax_code_4" />
2157+ </record>
2158+
2159+ <record id="l10n_br_cst_template_52" model="l10n_br_account.cst.template">
2160+ <field name="code">61</field>
2161+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno</field>
2162+ <field name="tax_code_template_id" ref="tax_code_4" />
2163+ </record>
2164+
2165+ <record id="l10n_br_cst_template_53" model="l10n_br_account.cst.template">
2166+ <field name="code">62</field>
2167+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação</field>
2168+ <field name="tax_code_template_id" ref="tax_code_4" />
2169+ </record>
2170+
2171+ <record id="l10n_br_cst_template_54" model="l10n_br_account.cst.template">
2172+ <field name="code">63</field>
2173+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno</field>
2174+ <field name="tax_code_template_id" ref="tax_code_4" />
2175+ </record>
2176+
2177+ <record id="l10n_br_cst_template_55" model="l10n_br_account.cst.template">
2178+ <field name="code">64</field>
2179+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação</field>
2180+ <field name="tax_code_template_id" ref="tax_code_4" />
2181+ </record>
2182+
2183+ <record id="l10n_br_cst_template_56" model="l10n_br_account.cst.template">
2184+ <field name="code">65</field>
2185+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação</field>
2186+ <field name="tax_code_template_id" ref="tax_code_4" />
2187+ </record>
2188+
2189+ <record id="l10n_br_cst_template_57" model="l10n_br_account.cst.template">
2190+ <field name="code">66</field>
2191+ <field name="name">Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação</field>
2192+ <field name="tax_code_template_id" ref="tax_code_4" />
2193+ </record>
2194+
2195+ <record id="l10n_br_cst_template_58" model="l10n_br_account.cst.template">
2196+ <field name="code">67</field>
2197+ <field name="name">Crédito Presumido - Outras Operações</field>
2198+ <field name="tax_code_template_id" ref="tax_code_4" />
2199+ </record>
2200+
2201+ <record id="l10n_br_cst_template_59" model="l10n_br_account.cst.template">
2202+ <field name="code">70</field>
2203+ <field name="name">Operação de Aquisição sem Direito a Crédito</field>
2204+ <field name="tax_code_template_id" ref="tax_code_4" />
2205+ </record>
2206+
2207+ <record id="l10n_br_cst_template_60" model="l10n_br_account.cst.template">
2208+ <field name="code">71</field>
2209+ <field name="name">Operação de Aquisição com Isenção</field>
2210+ <field name="tax_code_template_id" ref="tax_code_4" />
2211+ </record>
2212+
2213+ <record id="l10n_br_cst_template_61" model="l10n_br_account.cst.template">
2214+ <field name="code">72</field>
2215+ <field name="name">Operação de Aquisição com Suspensão</field>
2216+ <field name="tax_code_template_id" ref="tax_code_4" />
2217+ </record>
2218+
2219+ <record id="l10n_br_cst_template_62" model="l10n_br_account.cst.template">
2220+ <field name="code">73</field>
2221+ <field name="name">Operação de Aquisição a Alíquota Zero</field>
2222+ <field name="tax_code_template_id" ref="tax_code_4" />
2223+ </record>
2224+
2225+ <record id="l10n_br_cst_template_63" model="l10n_br_account.cst.template">
2226+ <field name="code">74</field>
2227+ <field name="name">Operação de Aquisição sem Incidência da Contribuição</field>
2228+ <field name="tax_code_template_id" ref="tax_code_4" />
2229+ </record>
2230+
2231+ <record id="l10n_br_cst_template_64" model="l10n_br_account.cst.template">
2232+ <field name="code">75</field>
2233+ <field name="name">Operação de Aquisição por Substituição Tributária</field>
2234+ <field name="tax_code_template_id" ref="tax_code_4" />
2235+ </record>
2236+
2237+ <record id="l10n_br_cst_template_65" model="l10n_br_account.cst.template">
2238+ <field name="code">98</field>
2239+ <field name="name">Outras Operações de Entrada</field>
2240+ <field name="tax_code_template_id" ref="tax_code_4" />
2241+ </record>
2242+
2243+ <record id="l10n_br_cst_template_66" model="l10n_br_account.cst.template">
2244+ <field name="code">99</field>
2245+ <field name="name">Outras Operações</field>
2246+ <field name="tax_code_template_id" ref="tax_code_4" />
2247+ </record>
2248+
2249+ <record id="l10n_br_cst_template_67" model="l10n_br_account.cst.template">
2250+ <field name="code">00</field>
2251+ <field name="name">Entrada com recuperação de crédito</field>
2252+ <field name="tax_code_template_id" ref="tax_code_3" />
2253+ </record>
2254+
2255+ <record id="l10n_br_cst_template_68" model="l10n_br_account.cst.template">
2256+ <field name="code">01</field>
2257+ <field name="name">Entrada tributada com alíquota zero</field>
2258+ <field name="tax_code_template_id" ref="tax_code_3" />
2259+ </record>
2260+
2261+ <record id="l10n_br_cst_template_69" model="l10n_br_account.cst.template">
2262+ <field name="code">02</field>
2263+ <field name="name">Entrada isenta</field>
2264+ <field name="tax_code_template_id" ref="tax_code_3" />
2265+ </record>
2266+
2267+ <record id="l10n_br_cst_template_70" model="l10n_br_account.cst.template">
2268+ <field name="code">03</field>
2269+ <field name="name">Entrada não-tributada</field>
2270+ <field name="tax_code_template_id" ref="tax_code_3" />
2271+ </record>
2272+
2273+ <record id="l10n_br_cst_template_71" model="l10n_br_account.cst.template">
2274+ <field name="code">04</field>
2275+ <field name="name">Entrada imune</field>
2276+ <field name="tax_code_template_id" ref="tax_code_3" />
2277+ </record>
2278+
2279+ <record id="l10n_br_cst_template_72" model="l10n_br_account.cst.template">
2280+ <field name="code">05</field>
2281+ <field name="name">Entrada com suspensão</field>
2282+ <field name="tax_code_template_id" ref="tax_code_3" />
2283+ </record>
2284+
2285+ <record id="l10n_br_cst_template_73" model="l10n_br_account.cst.template">
2286+ <field name="code">49</field>
2287+ <field name="name">Outras entradas</field>
2288+ <field name="tax_code_template_id" ref="tax_code_3" />
2289+ </record>
2290+
2291+ <record id="l10n_br_cst_template_74" model="l10n_br_account.cst.template">
2292+ <field name="code">50</field>
2293+ <field name="name">Saída tributada</field>
2294+ <field name="tax_code_template_id" ref="tax_code_3" />
2295+ </record>
2296+
2297+ <record id="l10n_br_cst_template_75" model="l10n_br_account.cst.template">
2298+ <field name="code">51</field>
2299+ <field name="name">Saída tributada com alíquota zero</field>
2300+ <field name="tax_code_template_id" ref="tax_code_3" />
2301+ </record>
2302+
2303+ <record id="l10n_br_cst_template_76" model="l10n_br_account.cst.template">
2304+ <field name="code">52</field>
2305+ <field name="name">Saída isenta</field>
2306+ <field name="tax_code_template_id" ref="tax_code_3" />
2307+ </record>
2308+
2309+ <record id="l10n_br_cst_template_77" model="l10n_br_account.cst.template">
2310+ <field name="code">53</field>
2311+ <field name="name">Saída não-tributada</field>
2312+ <field name="tax_code_template_id" ref="tax_code_3" />
2313+ </record>
2314+
2315+ <record id="l10n_br_cst_template_78" model="l10n_br_account.cst.template">
2316+ <field name="code">54</field>
2317+ <field name="name">Saída imune</field>
2318+ <field name="tax_code_template_id" ref="tax_code_3" />
2319+ </record>
2320+
2321+ <record id="l10n_br_cst_template_79" model="l10n_br_account.cst.template">
2322+ <field name="code">55</field>
2323+ <field name="name">Saída com suspensão</field>
2324+ <field name="tax_code_template_id" ref="tax_code_3" />
2325+ </record>
2326+
2327+ <record id="l10n_br_cst_template_80" model="l10n_br_account.cst.template">
2328+ <field name="code">99</field>
2329+ <field name="name">Outras saídas</field>
2330+ <field name="tax_code_template_id" ref="tax_code_3" />
2331+ </record>
2332+
2333+ <record id="l10n_br_cst_template_92" model="l10n_br_account.cst.template">
2334+ <field name="code">00</field>
2335+ <field name="name">Tributada integralmente</field>
2336+ <field name="tax_code_template_id" ref="tax_code_1" />
2337+ </record>
2338+
2339+ <record id="l10n_br_cst_template_93" model="l10n_br_account.cst.template">
2340+ <field name="code">10</field>
2341+ <field name="name">Tributada e com cobrança do ICMS por substituição tributária</field>
2342+ <field name="tax_code_template_id" ref="tax_code_1" />
2343+ </record>
2344+
2345+ <record id="l10n_br_cst_template_94" model="l10n_br_account.cst.template">
2346+ <field name="code">20</field>
2347+ <field name="name">Com redução de base de cálculo</field>
2348+ <field name="tax_code_template_id" ref="tax_code_1" />
2349+ </record>
2350+
2351+ <record id="l10n_br_cst_template_95" model="l10n_br_account.cst.template">
2352+ <field name="code">30</field>
2353+ <field name="name">Isenta ou não tributada e com cobrança do ICMS por substituição tributária</field>
2354+ <field name="tax_code_template_id" ref="tax_code_1" />
2355+ </record>
2356+
2357+ <record id="l10n_br_cst_template_96" model="l10n_br_account.cst.template">
2358+ <field name="code">40</field>
2359+ <field name="name">Isenta</field>
2360+ <field name="tax_code_template_id" ref="tax_code_1" />
2361+ </record>
2362+
2363+ <record id="l10n_br_cst_template_97" model="l10n_br_account.cst.template">
2364+ <field name="code">41</field>
2365+ <field name="name">Não tributada</field>
2366+ <field name="tax_code_template_id" ref="tax_code_1" />
2367+ </record>
2368+
2369+ <record id="l10n_br_cst_template_98" model="l10n_br_account.cst.template">
2370+ <field name="code">50</field>
2371+ <field name="name">Suspensão</field>
2372+ <field name="tax_code_template_id" ref="tax_code_1" />
2373+ </record>
2374+
2375+ <record id="l10n_br_cst_template_99" model="l10n_br_account.cst.template">
2376+ <field name="code">51</field>
2377+ <field name="name">Diferimento</field>
2378+ <field name="tax_code_template_id" ref="tax_code_1" />
2379+ </record>
2380+
2381+ <record id="l10n_br_cst_template_100" model="l10n_br_account.cst.template">
2382+ <field name="code">60</field>
2383+ <field name="name">ICMS cobrado anteriormente por substituição tributária</field>
2384+ <field name="tax_code_template_id" ref="tax_code_1" />
2385+ </record>
2386+
2387+ <record id="l10n_br_cst_template_101" model="l10n_br_account.cst.template">
2388+ <field name="code">70</field>
2389+ <field name="name">Com redução de base de cálculo e cobrança do ICMS por substituição tributária</field>
2390+ <field name="tax_code_template_id" ref="tax_code_1" />
2391+ </record>
2392+
2393+ <record id="l10n_br_cst_template_102" model="l10n_br_account.cst.template">
2394+ <field name="code">90</field>
2395+ <field name="name">Outras</field>
2396+ <field name="tax_code_template_id" ref="tax_code_1" />
2397+ </record>
2398+
2399+ <record id="l10n_br_cst_template_103" model="l10n_br_account.cst.template">
2400+ <field name="code">101</field>
2401+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito</field>
2402+ <field name="tax_code_template_id" ref="tax_code_1" />
2403+ </record>
2404+
2405+ <record id="l10n_br_cst_template_104" model="l10n_br_account.cst.template">
2406+ <field name="code">102</field>
2407+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito</field>
2408+ <field name="tax_code_template_id" ref="tax_code_1" />
2409+ </record>
2410+
2411+ <record id="l10n_br_cst_template_105" model="l10n_br_account.cst.template">
2412+ <field name="code">103</field>
2413+ <field name="name">Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta</field>
2414+ <field name="tax_code_template_id" ref="tax_code_1" />
2415+ </record>
2416+
2417+ <record id="l10n_br_cst_template_106" model="l10n_br_account.cst.template">
2418+ <field name="code">201</field>
2419+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito e com cobrança do ICMS por substituição tributária</field>
2420+ <field name="tax_code_template_id" ref="tax_code_1" />
2421+ </record>
2422+
2423+ <record id="l10n_br_cst_template_107" model="l10n_br_account.cst.template">
2424+ <field name="code">202</field>
2425+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito e com cobrança do ICMS por substituição tributária</field>
2426+ <field name="tax_code_template_id" ref="tax_code_1" />
2427+ </record>
2428+
2429+ <record id="l10n_br_cst_template_108" model="l10n_br_account.cst.template">
2430+ <field name="code">203</field>
2431+ <field name="name">Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta e com cobrança do ICMS por substituição tributária</field>
2432+ <field name="tax_code_template_id" ref="tax_code_1" />
2433+ </record>
2434+
2435+ <record id="l10n_br_cst_template_109" model="l10n_br_account.cst.template">
2436+ <field name="code">300</field>
2437+ <field name="name">Simples Nacional - Imune</field>
2438+ <field name="tax_code_template_id" ref="tax_code_1" />
2439+ </record>
2440+
2441+ <record id="l10n_br_cst_template_110" model="l10n_br_account.cst.template">
2442+ <field name="code">400</field>
2443+ <field name="name">Simples Nacional - Não tributada pelo Simples Nacional</field>
2444+ <field name="tax_code_template_id" ref="tax_code_1" />
2445+ </record>
2446+
2447+ <record id="l10n_br_cst_template_111" model="l10n_br_account.cst.template">
2448+ <field name="code">500</field>
2449+ <field name="name">Simples Nacional - ICMS cobrado anteriormente por substituição tributária (substituído) ou por antecipação</field>
2450+ <field name="tax_code_template_id" ref="tax_code_1" />
2451+ </record>
2452+
2453+ <record id="l10n_br_cst_template_112" model="l10n_br_account.cst.template">
2454+ <field name="code">900</field>
2455+ <field name="name">Simples Nacional - Outros</field>
2456+ <field name="tax_code_template_id" ref="tax_code_1" />
2457+ </record>
2458+
2459+ <record id="l10n_br_cst_template_103" model="l10n_br_account.cst.template">
2460+ <field name="code">101</field>
2461+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito</field>
2462+ <field name="tax_code_template_id" ref="tax_code_1" />
2463+ </record>
2464+
2465+ <record id="l10n_br_cst_template_104" model="l10n_br_account.cst.template">
2466+ <field name="code">102</field>
2467+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito</field>
2468+ <field name="tax_code_template_id" ref="tax_code_1" />
2469+ </record>
2470+
2471+ <record id="l10n_br_cst_template_105" model="l10n_br_account.cst.template">
2472+ <field name="code">103</field>
2473+ <field name="name">Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta</field>
2474+ <field name="tax_code_template_id" ref="tax_code_1" />
2475+ </record>
2476+
2477+ <record id="l10n_br_cst_template_106" model="l10n_br_account.cst.template">
2478+ <field name="code">201</field>
2479+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional com permissão de crédito e com cobrança do ICMS por substituição tributária</field>
2480+ <field name="tax_code_template_id" ref="tax_code_1" />
2481+ </record>
2482+
2483+ <record id="l10n_br_cst_template_107" model="l10n_br_account.cst.template">
2484+ <field name="code">202</field>
2485+ <field name="name">Simples Nacional - Tributada pelo Simples Nacional sem permissão de crédito e com cobrança do ICMS por substituição tributária</field>
2486+ <field name="tax_code_template_id" ref="tax_code_1" />
2487+ </record>
2488+
2489+ <record id="l10n_br_cst_template_108" model="l10n_br_account.cst.template">
2490+ <field name="code">203</field>
2491+ <field name="name">Simples Nacional - Isenção do ICMS no Simples Nacional para faixa de receita bruta e com cobrança do ICMS por substituição tributária</field>
2492+ <field name="tax_code_template_id" ref="tax_code_1" />
2493+ </record>
2494+
2495+ <record id="l10n_br_cst_template_109" model="l10n_br_account.cst.template">
2496+ <field name="code">300</field>
2497+ <field name="name">Simples Nacional - Imune</field>
2498+ <field name="tax_code_template_id" ref="tax_code_1" />
2499+ </record>
2500+
2501+ <record id="l10n_br_cst_template_110" model="l10n_br_account.cst.template">
2502+ <field name="code">400</field>
2503+ <field name="name">Simples Nacional - Não tributada pelo Simples Nacional</field>
2504+ <field name="tax_code_template_id" ref="tax_code_1" />
2505+ </record>
2506+
2507+ <record id="l10n_br_cst_template_111" model="l10n_br_account.cst.template">
2508+ <field name="code">500</field>
2509+ <field name="name">Simples Nacional - ICMS cobrado anteriormente por substituição tributária (substituído) ou por antecipação</field>
2510+ <field name="tax_code_template_id" ref="tax_code_1" />
2511+ </record>
2512+
2513+ <record id="l10n_br_cst_template_112" model="l10n_br_account.cst.template">
2514+ <field name="code">900</field>
2515+ <field name="name">Simples Nacional - Outros</field>
2516+ <field name="tax_code_template_id" ref="tax_code_1" />
2517+ </record>
2518+
2519+ </data>
2520+</openerp>
2521
2522=== added directory 'l10n_br/i18n'
2523=== added file 'l10n_br/i18n/l10n_br.pot'
2524--- l10n_br/i18n/l10n_br.pot 1970-01-01 00:00:00 +0000
2525+++ l10n_br/i18n/l10n_br.pot 2012-05-03 23:39:20 +0000
2526@@ -0,0 +1,170 @@
2527+# Translation of OpenERP Server.
2528+# This file contains the translation of the following modules:
2529+# * l10n_br
2530+#
2531+msgid ""
2532+msgstr ""
2533+"Project-Id-Version: OpenERP Server 6.1beta\n"
2534+"Report-Msgid-Bugs-To: \n"
2535+"POT-Creation-Date: 2011-12-23 09:56+0000\n"
2536+"PO-Revision-Date: 2011-12-23 09:56+0000\n"
2537+"Last-Translator: <>\n"
2538+"Language-Team: \n"
2539+"MIME-Version: 1.0\n"
2540+"Content-Type: text/plain; charset=UTF-8\n"
2541+"Content-Transfer-Encoding: \n"
2542+"Plural-Forms: \n"
2543+
2544+#. module: l10n_br
2545+#: field:account.tax,tax_discount:0
2546+#: field:account.tax.code,tax_discount:0
2547+#: field:account.tax.code.template,tax_discount:0
2548+#: field:account.tax.template,tax_discount:0
2549+msgid "Discount this Tax in Prince"
2550+msgstr ""
2551+
2552+#. module: l10n_br
2553+#: model:ir.actions.act_window,name:l10n_br.action_l10n_br_cst_form
2554+#: model:ir.model,name:l10n_br.model_l10n_br_account_cst
2555+#: model:ir.ui.menu,name:l10n_br.menu_action_l10n_br_cst
2556+#: view:l10n_br_account.cst:0
2557+msgid "Tax Situation Code"
2558+msgstr ""
2559+
2560+#. module: l10n_br
2561+#: model:ir.model,name:l10n_br.model_account_tax_code
2562+#: field:l10n_br_account.cst,tax_code_id:0
2563+msgid "Tax Code"
2564+msgstr ""
2565+
2566+#. module: l10n_br
2567+#: help:account.tax.code,domain:0
2568+#: help:account.tax.code.template,domain:0
2569+msgid "This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."
2570+msgstr ""
2571+
2572+#. module: l10n_br
2573+#: model:account.account.type,name:l10n_br.resultado
2574+msgid "Resultado"
2575+msgstr ""
2576+
2577+#. module: l10n_br
2578+#: model:ir.model,name:l10n_br.model_account_tax_template
2579+msgid "account.tax.template"
2580+msgstr ""
2581+
2582+#. module: l10n_br
2583+#: model:account.account.type,name:l10n_br.passivo
2584+msgid "Passivo"
2585+msgstr ""
2586+
2587+#. module: l10n_br
2588+#: field:l10n_br_account.cst,name:0
2589+#: field:l10n_br_account.cst.template,name:0
2590+msgid "Description"
2591+msgstr ""
2592+
2593+#. module: l10n_br
2594+#: model:account.account.type,name:l10n_br.despesa
2595+msgid "Despesas"
2596+msgstr ""
2597+
2598+#. module: l10n_br
2599+#: field:account.tax,amount_mva:0
2600+#: field:account.tax.template,amount_mva:0
2601+msgid "MVA Percent"
2602+msgstr ""
2603+
2604+#. module: l10n_br
2605+#: help:account.tax.template,amount_mva:0
2606+#: help:account.tax.template,base_reduction:0
2607+msgid "For taxes of type percentage, enter % ratio between 0-1."
2608+msgstr ""
2609+
2610+#. module: l10n_br
2611+#: field:account.tax,base_reduction:0
2612+#: field:account.tax.template,base_reduction:0
2613+msgid "Redution"
2614+msgstr ""
2615+
2616+#. module: l10n_br
2617+#: constraint:account.tax.code.template:0
2618+msgid "Error ! You can not create recursive Tax Codes."
2619+msgstr ""
2620+
2621+#. module: l10n_br
2622+#: sql_constraint:account.tax:0
2623+msgid "Tax Name must be unique per company!"
2624+msgstr ""
2625+
2626+#. module: l10n_br
2627+#: model:ir.model,name:l10n_br.model_account_tax
2628+msgid "account.tax"
2629+msgstr ""
2630+
2631+#. module: l10n_br
2632+#: model:account.account.type,name:l10n_br.receita
2633+msgid "Receita"
2634+msgstr ""
2635+
2636+#. module: l10n_br
2637+#: model:ir.actions.act_window,name:l10n_br.action_l10n_br_cst_template_form
2638+#: model:ir.model,name:l10n_br.model_l10n_br_account_cst_template
2639+#: model:ir.ui.menu,name:l10n_br.menu_action_l10n_br_cst_template
2640+#: view:l10n_br_account.cst.template:0
2641+msgid "Tax Situation Code Template"
2642+msgstr ""
2643+
2644+#. module: l10n_br
2645+#: model:ir.model,name:l10n_br.model_wizard_multi_charts_accounts
2646+msgid "wizard.multi.charts.accounts"
2647+msgstr ""
2648+
2649+#. module: l10n_br
2650+#: model:ir.actions.todo,note:l10n_br.config_call_account_template_brazilian_localization
2651+msgid "Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated.\n"
2652+" This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template."
2653+msgstr ""
2654+
2655+#. module: l10n_br
2656+#: help:account.tax,tax_discount:0
2657+#: help:account.tax.code,tax_discount:0
2658+#: help:account.tax.code.template,tax_discount:0
2659+#: help:account.tax.template,tax_discount:0
2660+msgid "Mark it for (ICMS, PIS e etc.)."
2661+msgstr ""
2662+
2663+#. module: l10n_br
2664+#: model:account.account.type,name:l10n_br.ativo
2665+msgid "Ativo"
2666+msgstr ""
2667+
2668+#. module: l10n_br
2669+#: field:account.tax.code,domain:0
2670+#: field:account.tax.code.template,domain:0
2671+msgid "Domain"
2672+msgstr ""
2673+
2674+#. module: l10n_br
2675+#: field:l10n_br_account.cst,code:0
2676+#: field:l10n_br_account.cst.template,code:0
2677+msgid "Code"
2678+msgstr ""
2679+
2680+#. module: l10n_br
2681+#: constraint:account.tax.code:0
2682+msgid "Error ! You can not create recursive accounts."
2683+msgstr ""
2684+
2685+#. module: l10n_br
2686+#: help:account.tax,amount_mva:0
2687+#: help:account.tax,base_reduction:0
2688+msgid "Um percentual decimal em % entre 0-1."
2689+msgstr ""
2690+
2691+#. module: l10n_br
2692+#: model:ir.model,name:l10n_br.model_account_tax_code_template
2693+#: field:l10n_br_account.cst.template,tax_code_template_id:0
2694+msgid "Tax Code Template"
2695+msgstr ""
2696+
2697
2698=== added file 'l10n_br/i18n/pt_BR.po'
2699--- l10n_br/i18n/pt_BR.po 1970-01-01 00:00:00 +0000
2700+++ l10n_br/i18n/pt_BR.po 2012-05-03 23:39:20 +0000
2701@@ -0,0 +1,188 @@
2702+# Brazilian Portuguese translation for openobject-addons
2703+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
2704+# This file is distributed under the same license as the openobject-addons package.
2705+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
2706+#
2707+msgid ""
2708+msgstr ""
2709+"Project-Id-Version: openobject-addons\n"
2710+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2711+"POT-Creation-Date: 2011-12-23 09:56+0000\n"
2712+"PO-Revision-Date: 2012-02-17 09:10+0000\n"
2713+"Last-Translator: tamnil <Unknown>\n"
2714+"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
2715+"MIME-Version: 1.0\n"
2716+"Content-Type: text/plain; charset=UTF-8\n"
2717+"Content-Transfer-Encoding: 8bit\n"
2718+"X-Launchpad-Export-Date: 2012-02-18 06:43+0000\n"
2719+"X-Generator: Launchpad (build 14814)\n"
2720+
2721+#. module: l10n_br
2722+#: field:account.tax,tax_discount:0
2723+#: field:account.tax.code,tax_discount:0
2724+#: field:account.tax.code.template,tax_discount:0
2725+#: field:account.tax.template,tax_discount:0
2726+msgid "Discount this Tax in Prince"
2727+msgstr "Desconta esta taxa no Preço"
2728+
2729+#. module: l10n_br
2730+#: model:ir.actions.act_window,name:l10n_br.action_l10n_br_cst_form
2731+#: model:ir.model,name:l10n_br.model_l10n_br_account_cst
2732+#: model:ir.ui.menu,name:l10n_br.menu_action_l10n_br_cst
2733+#: view:l10n_br_account.cst:0
2734+msgid "Tax Situation Code"
2735+msgstr "Código de Situação da Taxa"
2736+
2737+#. module: l10n_br
2738+#: model:ir.model,name:l10n_br.model_account_tax_code
2739+#: field:l10n_br_account.cst,tax_code_id:0
2740+msgid "Tax Code"
2741+msgstr "Código da Taxa"
2742+
2743+#. module: l10n_br
2744+#: help:account.tax.code,domain:0
2745+#: help:account.tax.code.template,domain:0
2746+msgid ""
2747+"This field is only used if you develop your own module allowing developers "
2748+"to create specific taxes in a custom domain."
2749+msgstr ""
2750+"Este campo é usado apenas se você desenvolver o seu próprio módulo "
2751+"permitindo aos desenvolvedores criar impostos específicos num domínio "
2752+"personalizado."
2753+
2754+#. module: l10n_br
2755+#: model:account.account.type,name:l10n_br.resultado
2756+msgid "Resultado"
2757+msgstr "Resultado"
2758+
2759+#. module: l10n_br
2760+#: model:ir.model,name:l10n_br.model_account_tax_template
2761+msgid "account.tax.template"
2762+msgstr ""
2763+
2764+#. module: l10n_br
2765+#: model:account.account.type,name:l10n_br.passivo
2766+msgid "Passivo"
2767+msgstr "Passivo"
2768+
2769+#. module: l10n_br
2770+#: field:l10n_br_account.cst,name:0
2771+#: field:l10n_br_account.cst.template,name:0
2772+msgid "Description"
2773+msgstr "Descrição"
2774+
2775+#. module: l10n_br
2776+#: model:account.account.type,name:l10n_br.despesa
2777+msgid "Despesas"
2778+msgstr "Despesas"
2779+
2780+#. module: l10n_br
2781+#: field:account.tax,amount_mva:0
2782+#: field:account.tax.template,amount_mva:0
2783+msgid "MVA Percent"
2784+msgstr "Porcentagem MVA"
2785+
2786+#. module: l10n_br
2787+#: help:account.tax.template,amount_mva:0
2788+#: help:account.tax.template,base_reduction:0
2789+msgid "For taxes of type percentage, enter % ratio between 0-1."
2790+msgstr ""
2791+
2792+#. module: l10n_br
2793+#: field:account.tax,base_reduction:0
2794+#: field:account.tax.template,base_reduction:0
2795+msgid "Redution"
2796+msgstr "Redução"
2797+
2798+#. module: l10n_br
2799+#: constraint:account.tax.code.template:0
2800+msgid "Error ! You can not create recursive Tax Codes."
2801+msgstr ""
2802+
2803+#. module: l10n_br
2804+#: sql_constraint:account.tax:0
2805+msgid "Tax Name must be unique per company!"
2806+msgstr "O Nome da taxa tem que ser único por companhia!"
2807+
2808+#. module: l10n_br
2809+#: model:ir.model,name:l10n_br.model_account_tax
2810+msgid "account.tax"
2811+msgstr ""
2812+
2813+#. module: l10n_br
2814+#: model:account.account.type,name:l10n_br.receita
2815+msgid "Receita"
2816+msgstr "Receita"
2817+
2818+#. module: l10n_br
2819+#: model:ir.actions.act_window,name:l10n_br.action_l10n_br_cst_template_form
2820+#: model:ir.model,name:l10n_br.model_l10n_br_account_cst_template
2821+#: model:ir.ui.menu,name:l10n_br.menu_action_l10n_br_cst_template
2822+#: view:l10n_br_account.cst.template:0
2823+msgid "Tax Situation Code Template"
2824+msgstr "Modelo do Código de Situação da Taxa"
2825+
2826+#. module: l10n_br
2827+#: model:ir.model,name:l10n_br.model_wizard_multi_charts_accounts
2828+msgid "wizard.multi.charts.accounts"
2829+msgstr ""
2830+
2831+#. module: l10n_br
2832+#: model:ir.actions.todo,note:l10n_br.config_call_account_template_brazilian_localization
2833+msgid ""
2834+"Generate Chart of Accounts from a Chart Template. You will be asked to pass "
2835+"the name of the company, the chart template to follow, the no. of digits to "
2836+"generate the code for your accounts and Bank account, currency to create "
2837+"Journals. Thus,the pure copy of chart Template is generated.\n"
2838+" This is the same wizard that runs from Financial "
2839+"Management/Configuration/Financial Accounting/Financial Accounts/Generate "
2840+"Chart of Accounts from a Chart Template."
2841+msgstr ""
2842+"Gera o Plano de Contas a partir de um Plano Modelo. Será solicitado que você "
2843+"informe o nome da empresa, o modelo do plano para seguir, o número de "
2844+"dígitos para gerar o código de suas contas, a conta bancária e moeda para "
2845+"criar os diários. Assim, a cópia pura do Plano Modelo é gerada.\n"
2846+" Este é o mesmo assistente que roda a partir de Contas/Configuração/Conta "
2847+"Financeira/Conta/Contas/Gerar Plano de Contas a partir de um Plano Modelo."
2848+
2849+#. module: l10n_br
2850+#: help:account.tax,tax_discount:0
2851+#: help:account.tax.code,tax_discount:0
2852+#: help:account.tax.code.template,tax_discount:0
2853+#: help:account.tax.template,tax_discount:0
2854+msgid "Mark it for (ICMS, PIS e etc.)."
2855+msgstr "Marque para (ICMS, PIS e etc.)."
2856+
2857+#. module: l10n_br
2858+#: model:account.account.type,name:l10n_br.ativo
2859+msgid "Ativo"
2860+msgstr ""
2861+
2862+#. module: l10n_br
2863+#: field:account.tax.code,domain:0
2864+#: field:account.tax.code.template,domain:0
2865+msgid "Domain"
2866+msgstr ""
2867+
2868+#. module: l10n_br
2869+#: field:l10n_br_account.cst,code:0
2870+#: field:l10n_br_account.cst.template,code:0
2871+msgid "Code"
2872+msgstr ""
2873+
2874+#. module: l10n_br
2875+#: constraint:account.tax.code:0
2876+msgid "Error ! You can not create recursive accounts."
2877+msgstr ""
2878+
2879+#. module: l10n_br
2880+#: help:account.tax,amount_mva:0
2881+#: help:account.tax,base_reduction:0
2882+msgid "Um percentual decimal em % entre 0-1."
2883+msgstr ""
2884+
2885+#. module: l10n_br
2886+#: model:ir.model,name:l10n_br.model_account_tax_code_template
2887+#: field:l10n_br_account.cst.template,tax_code_template_id:0
2888+msgid "Tax Code Template"
2889+msgstr ""
2890
2891=== added directory 'l10n_br/images'
2892=== added file 'l10n_br/images/1_config_chart_l10n_br.jpeg'
2893Binary files l10n_br/images/1_config_chart_l10n_br.jpeg 1970-01-01 00:00:00 +0000 and l10n_br/images/1_config_chart_l10n_br.jpeg 2012-05-03 23:39:20 +0000 differ
2894=== added file 'l10n_br/images/2_l10n_br_chart.jpeg'
2895Binary files l10n_br/images/2_l10n_br_chart.jpeg 1970-01-01 00:00:00 +0000 and l10n_br/images/2_l10n_br_chart.jpeg 2012-05-03 23:39:20 +0000 differ
2896=== added file 'l10n_br/l10n_br.py'
2897--- l10n_br/l10n_br.py 1970-01-01 00:00:00 +0000
2898+++ l10n_br/l10n_br.py 2012-05-03 23:39:20 +0000
2899@@ -0,0 +1,84 @@
2900+# -*- encoding: utf-8 -*-
2901+#################################################################################
2902+# #
2903+# Copyright (C) 2009 Renato Lima - Akretion #
2904+# #
2905+#This program is free software: you can redistribute it and/or modify #
2906+#it under the terms of the GNU Affero General Public License as published by #
2907+#the Free Software Foundation, either version 3 of the License, or #
2908+#(at your option) any later version. #
2909+# #
2910+#This program is distributed in the hope that it will be useful, #
2911+#but WITHOUT ANY WARRANTY; without even the implied warranty of #
2912+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
2913+#GNU General Public License for more details. #
2914+# #
2915+#You should have received a copy of the GNU General Public License #
2916+#along with this program. If not, see <http://www.gnu.org/licenses/>. #
2917+#################################################################################
2918+
2919+from osv import fields, osv
2920+
2921+class l10n_br_account_cst_template(osv.osv):
2922+ _name = 'l10n_br_account.cst.template'
2923+ _description = 'Tax Situation Code Template'
2924+ _columns = {
2925+ 'code': fields.char('Code', size=8,required=True),
2926+ 'name': fields.char('Description', size=64),
2927+ 'tax_code_template_id': fields.many2one('account.tax.code.template', 'Tax Code Template',required=True),
2928+ }
2929+
2930+ def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=80):
2931+ if not args:
2932+ args = []
2933+ if context is None:
2934+ context = {}
2935+ ids = self.search(cr, user, ['|',('name',operator,name),('code',operator,name)] + args, limit=limit, context=context)
2936+ return self.name_get(cr, user, ids, context)
2937+
2938+ def name_get(self, cr, uid, ids, context=None):
2939+ if not ids:
2940+ return []
2941+ reads = self.read(cr, uid, ids, ['name', 'code'], context=context)
2942+ res = []
2943+ for record in reads:
2944+ name = record['name']
2945+ if record['code']:
2946+ name = record['code'] + ' - '+name
2947+ res.append((record['id'], name))
2948+ return res
2949+
2950+l10n_br_account_cst_template()
2951+
2952+class l10n_br_account_cst(osv.osv):
2953+ _name = 'l10n_br_account.cst'
2954+ _description = 'Tax Situation Code'
2955+ _columns = {
2956+ 'code': fields.char('Code', size=8,required=True),
2957+ 'name': fields.char('Description', size=64),
2958+ 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code',required=True),
2959+ }
2960+
2961+ def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=80):
2962+ if not args:
2963+ args = []
2964+ if context is None:
2965+ context = {}
2966+ ids = self.search(cr, user, ['|',('name',operator,name),('code',operator,name)] + args, limit=limit, context=context)
2967+ return self.name_get(cr, user, ids, context)
2968+
2969+ def name_get(self, cr, uid, ids, context=None):
2970+ if not ids:
2971+ return []
2972+ reads = self.read(cr, uid, ids, ['name', 'code'], context=context)
2973+ res = []
2974+ for record in reads:
2975+ name = record['name']
2976+ if record['code']:
2977+ name = record['code'] + ' - '+name
2978+ res.append((record['id'], name))
2979+ return res
2980+
2981+l10n_br_account_cst()
2982+
2983+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2984\ No newline at end of file
2985
2986=== added file 'l10n_br/l10n_br_view.xml'
2987--- l10n_br/l10n_br_view.xml 1970-01-01 00:00:00 +0000
2988+++ l10n_br/l10n_br_view.xml 2012-05-03 23:39:20 +0000
2989@@ -0,0 +1,80 @@
2990+<?xml version="1.0" encoding="utf-8"?>
2991+<openerp>
2992+ <data>
2993+
2994+ <record model="ir.ui.view" id="view_l10n_br_cst_template_form">
2995+ <field name="name">l10n_br.cst.form</field>
2996+ <field name="model">l10n_br_account.cst.template</field>
2997+ <field name="type">form</field>
2998+ <field name="arch" type="xml">
2999+ <form string="Tax Situation Code Template">
3000+ <field name="code" select="1"/>
3001+ <field name="name" select="1"/>
3002+ <field name="tax_code_template_id" select="2"/>
3003+ </form>
3004+ </field>
3005+ </record>
3006+
3007+ <record model="ir.ui.view" id="view_l10n_br_cst_template_tree">
3008+ <field name="name">l10n_br.cst.tree</field>
3009+ <field name="model">l10n_br_account.cst.template</field>
3010+ <field name="type">tree</field>
3011+ <field name="arch" type="xml">
3012+ <tree string="Tax Situation Code Template">
3013+ <field name="code" select="1"/>
3014+ <field name="name" select="1"/>
3015+ <field name="tax_code_template_id" select="2"/>
3016+ </tree>
3017+ </field>
3018+ </record>
3019+
3020+ <record model="ir.actions.act_window" id="action_l10n_br_cst_template_form">
3021+ <field name="name">Tax Situation Code Template</field>
3022+ <field name="type">ir.actions.act_window</field>
3023+ <field name="res_model">l10n_br_account.cst.template</field>
3024+ <field name="view_mode">tree,form</field>
3025+ <field name="view_type">form</field>
3026+ <field name="view_id" ref="view_l10n_br_cst_template_tree"/>
3027+ </record>
3028+
3029+ <record model="ir.ui.view" id="view_l10n_br_cst_form">
3030+ <field name="name">l10n_br.cst.form</field>
3031+ <field name="model">l10n_br_account.cst</field>
3032+ <field name="type">form</field>
3033+ <field name="arch" type="xml">
3034+ <form string="Tax Situation Code">
3035+ <field name="code" select="1"/>
3036+ <field name="name" select="1"/>
3037+ <field name="tax_code_id" select="2"/>
3038+ </form>
3039+ </field>
3040+ </record>
3041+
3042+ <record model="ir.ui.view" id="view_l10n_br_cst_tree">
3043+ <field name="name">l10n_br.cst.tree</field>
3044+ <field name="model">l10n_br_account.cst</field>
3045+ <field name="type">tree</field>
3046+ <field name="arch" type="xml">
3047+ <tree string="Tax Situation Code">
3048+ <field name="code" select="1"/>
3049+ <field name="name" select="1"/>
3050+ <field name="tax_code_id" select="2"/>
3051+ </tree>
3052+ </field>
3053+ </record>
3054+
3055+ <record model="ir.actions.act_window" id="action_l10n_br_cst_form">
3056+ <field name="name">Tax Situation Code</field>
3057+ <field name="type">ir.actions.act_window</field>
3058+ <field name="res_model">l10n_br_account.cst</field>
3059+ <field name="view_mode">tree,form</field>
3060+ <field name="view_type">form</field>
3061+ <field name="view_id" ref="view_l10n_br_cst_tree"/>
3062+ </record>
3063+
3064+ <menuitem name="Tax Situation Code Template" id="menu_action_l10n_br_cst_template" sequence="99" parent="account.account_template_taxes" action="action_l10n_br_cst_template_form"/>
3065+
3066+ <menuitem name="Tax Situation Code" id="menu_action_l10n_br_cst" parent="account.next_id_27" sequence="99" action="action_l10n_br_cst_form"/>
3067+
3068+ </data>
3069+</openerp>
3070\ No newline at end of file
3071
3072=== added directory 'l10n_br/security'
3073=== added file 'l10n_br/security/ir.model.access.csv'
3074--- l10n_br/security/ir.model.access.csv 1970-01-01 00:00:00 +0000
3075+++ l10n_br/security/ir.model.access.csv 2012-05-03 23:39:20 +0000
3076@@ -0,0 +1,3 @@
3077+id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
3078+l10n_br_account_cst,l10n_br_account.cst,model_l10n_br_account_cst,account.group_account_invoice,1,1,1,1
3079+l10n_br_account_cst_template,l10n_br_account.cst.template,model_l10n_br_account_cst_template,account.group_account_invoice,1,1,1,1
3080
3081=== modified file 'l10n_br_account/account.py'
3082--- l10n_br_account/account.py 2012-05-03 22:02:44 +0000
3083+++ l10n_br_account/account.py 2012-05-03 23:39:20 +0000
3084@@ -2,6 +2,7 @@
3085 #################################################################################
3086 # #
3087 # Copyright (C) 2009 Renato Lima - Akretion #
3088+# Copyright (C) 2011 Vinicius Dittgen - PROGE, Leonardo Santagada - PROGE #
3089 # #
3090 #This program is free software: you can redistribute it and/or modify #
3091 #it under the terms of the GNU Affero General Public License as published by #
3092@@ -43,86 +44,226 @@
3093 }
3094 """
3095
3096- tax_obj = self.pool.get('account.tax')
3097- result = super(account_tax, self).compute_all(cr, uid, taxes, price_unit, quantity, address_id, product, partner, force_excluded)
3098- totaldc = totalbr = 0.0
3099-
3100- obj_precision = self.pool.get('decimal.precision')
3101- prec = obj_precision.precision_get(cr, uid, 'Account')
3102-
3103- icms_base = icms_value = icms_percent = 0.0
3104- ipi_base = ipi_value = ipi_percent = 0.0
3105-
3106- for tax in result['taxes']:
3107+ totaldc = 0.0
3108+
3109+ icms_value = 0
3110+ icms_percent = 0
3111+ ipi_value = 0
3112+
3113+ precision = self.pool.get('decimal.precision').precision_get(cr, uid, 'Account')
3114+ totalin = totalex = round(price_unit * quantity, precision)
3115+ tin = [] # tax_include
3116+ tad = [] # tax_add
3117+ tre = [] # tax_retain
3118+ pin = [] # price_include
3119+ ntax = [] # normal tax
3120+
3121+ for tax in taxes:
3122+ if tax.tax_discount:
3123+ if tax.tax_include:
3124+ tin.append(tax)
3125+ elif tax.tax_retain:
3126+ tax.amount = (tax.amount * -1)
3127+ tre.append(tax)
3128+ elif tax.tax_add:
3129+ tad.append(tax)
3130+ elif tax.price_include:
3131+ pin.append(tax)
3132+ else:
3133+ ntax.append(tax)
3134+ pin = super(account_tax, self).compute_inv(cr, uid, pin, price_unit, quantity, address_id=address_id, product=product, partner=partner)
3135+ for r in pin:
3136+ totalex -= r.get('amount', 0.0)
3137+ totlex_qty = 0.0
3138+ try:
3139+ totlex_qty = totalex / quantity
3140+ except:
3141+ pass
3142+
3143+ tin = self.l10n_br_compute_inv(cr, uid, tin, price_unit, quantity, address_id=address_id, product=product, partner=partner)
3144+
3145+ all_tad = tad + ntax + tre
3146+ all_tad = super(account_tax, self)._compute(cr, uid, all_tad, totlex_qty, quantity, address_id=address_id, product=product, partner=partner)
3147+
3148+ for r in all_tad:
3149+ totalin += r.get('amount', 0.0)
3150+
3151+ tax_obj = self.pool.get('account.tax')
3152+ res_taxes = pin + tin + all_tad
3153+
3154+ for tax in res_taxes:
3155 tax_brw = tax_obj.browse(cr, uid, tax['id'])
3156
3157 if tax_brw.domain in ['icms', 'icmsst']:
3158 continue
3159
3160 if tax_brw.type == 'quantity':
3161- tax['amount'] = round((quantity * product.weight_net) * tax_brw.amount, prec)
3162+ tax['amount'] = round((quantity * product.weight_net) * tax_brw.amount, precision)
3163
3164- if tax_brw.base_code_id.tax_discount:
3165-
3166- if tax_brw.base_reduction <> 0:
3167- tax['amount'] = round(tax['amount'] * (1 - tax_brw.base_reduction), prec)
3168+ if tax_brw.tax_discount:
3169+ if tax_brw.base_reduction != 0:
3170+ tax['amount'] = round(tax['amount'] * (1 - tax_brw.base_reduction), precision)
3171+
3172 totaldc += tax['amount']
3173
3174- if tax_brw.amount <> 0:
3175- tax['total_base'] = round(result['total'] * (1 - tax_brw.base_reduction), prec)
3176+ if tax_brw.amount != 0:
3177+ if tax_brw.include_base_amount:
3178+ tax['total_base'] = tax['price_unit']
3179+ else:
3180+ tax['total_base'] = round(totalex * (1 - tax_brw.base_reduction), precision)
3181 else:
3182 tax['total_base'] = 0
3183
3184 #Guarda o valor do ipi para ser usado para calcular a st
3185 if tax_brw.domain == 'ipi':
3186- ipi_base = tax['total_base']
3187 ipi_value = tax['amount']
3188- ipi_percent = tax_brw.amount
3189-
3190-
3191- for tax_icms in result['taxes']:
3192+
3193+ for tax in res_taxes:
3194+ tax_brw = tax_obj.browse(cr, uid, tax['id'])
3195+
3196 #Guarda o valor do icms para ser usado para calcular a st
3197- tax_brw_icms = tax_obj.browse(cr, uid, tax_icms['id'])
3198- if tax_brw_icms.domain == 'icms':
3199+ if tax_brw.domain == 'icms':
3200
3201- if fiscal_operation and fiscal_operation.asset_operation or False:
3202- tax_base = result['total'] + ipi_value
3203- tax_icms['amount'] = round(tax_base * tax_brw_icms.amount, prec)
3204+ if fiscal_operation and fiscal_operation.asset_operation:
3205+ tax_base = totalex + ipi_value
3206+ tax['amount'] = round(tax_base * tax_brw.amount, precision)
3207 else:
3208- tax_base = result['total']
3209-
3210- if tax_brw_icms.type == 'quantity':
3211- tax_icms['amount'] = round((quantity * product.weight_net) * tax_brw_icms.amount, prec)
3212-
3213- if tax_brw_icms.base_reduction <> 0:
3214- tax_icms['amount'] = round(tax_icms['amount'] * (1 - tax_brw_icms.base_reduction), prec)
3215-
3216- if tax_brw_icms.base_code_id.tax_discount:
3217-
3218- totaldc += tax_icms['amount']
3219+ tax_base = totalex
3220+
3221+ if tax_brw.type == 'quantity':
3222+ tax['amount'] = round((quantity * product.weight_net) * tax_brw.amount, precision)
3223+
3224+ if tax_brw.base_reduction <> 0:
3225+ tax['amount'] = round(tax['amount'] * (1 - tax_brw.base_reduction), precision)
3226+
3227+ if tax_brw.base_code_id.tax_discount:
3228+ totaldc += tax['amount']
3229
3230 if tax_brw.amount <> 0:
3231- tax_icms['total_base'] = round(tax_base * (1 - tax_brw_icms.base_reduction), prec)
3232+ tax['total_base'] = round(tax_base * (1 - tax_brw.base_reduction), precision)
3233 else:
3234- tax_icms['total_base'] = 0
3235-
3236- icms_base = tax_icms['total_base']
3237- icms_value = tax_icms['amount']
3238- icms_percent = tax_brw_icms.amount
3239-
3240- for tax_sub in result['taxes']:
3241- tax_brw_sub = tax_obj.browse(cr, uid, tax_sub['id'])
3242- if tax_brw_sub.domain == 'icmsst':
3243- tax_sub['total_base'] = (result['total'] + ipi_value) * (1 + tax_brw_sub.amount_mva)
3244- tax_sub['amount'] += (((result['total'] + ipi_value) * (1 + tax_brw_sub.amount_mva)) * icms_percent) - icms_value
3245+ tax['total_base'] = 0
3246+
3247+ icms_value = tax['amount']
3248+ icms_percent = tax_brw.amount
3249+
3250+ for tax in res_taxes:
3251+ tax_brw = tax_obj.browse(cr, uid, tax['id'])
3252+ if tax_brw.domain == 'icmsst':
3253+ tax['total_base'] += (totalex + ipi_value) * (1 + tax_brw.amount_mva)
3254+ tax['amount'] += (((totalex + ipi_value) * (1 + tax_brw.amount_mva)) * icms_percent) - icms_value
3255
3256 return {
3257- 'total': result['total'],
3258- 'total_included': result['total_included'],
3259+ 'total': totalex,
3260+ 'total_included': totalin,
3261 'total_tax_discount': totaldc,
3262- 'taxes': result['taxes'],
3263- }
3264-
3265+ 'taxes': res_taxes,
3266+ }
3267+
3268+ def l10n_br_compute_inv(self, cr, uid, taxes, price_unit, quantity, address_id=None, product=None, partner=None):
3269+ """
3270+ Compute tax values for given PRICE_UNIT, QUANTITY and a buyer/seller ADDRESS_ID.
3271+ Price Unit is a VAT included price
3272+
3273+ RETURN:
3274+ [ tax ]
3275+ tax = {'name': '', 'amount': 0.0, 'account_collected_id': 1, 'account_paid_id': 2}
3276+ one tax for each tax id in IDS and their children
3277+ """
3278+
3279+ res = self._l10n_br_unit_compute_inv(cr, uid, taxes, price_unit, address_id, product, partner=None)
3280+ total = 0.0
3281+ obj_precision = self.pool.get('decimal.precision')
3282+ for r in res:
3283+ prec = obj_precision.precision_get(cr, uid, 'Account')
3284+ if r.get('balance', False):
3285+ r['amount'] = round(r['balance'] * quantity, prec) - total
3286+ else:
3287+ r['amount'] = round(r['amount'] * quantity, prec)
3288+ total += r['amount']
3289+ return res
3290+
3291+ def _l10n_br_unit_compute_inv(self, cr, uid, taxes, price_unit, address_id=None, product=None, partner=None):
3292+ taxes = self._applicable(cr, uid, taxes, price_unit, address_id, product, partner)
3293+ obj_partener_address = self.pool.get('res.partner.address')
3294+ res = []
3295+ taxes.reverse()
3296+ cur_price_unit = price_unit
3297+
3298+ tax_parent_tot = 0.0
3299+ for tax in taxes:
3300+ if tax.type == 'percent' and not tax.include_base_amount:
3301+ tax_parent_tot += tax.amount
3302+
3303+ for tax in taxes:
3304+ if tax.type == 'fixed' and not tax.include_base_amount:
3305+ cur_price_unit -= tax.amount
3306+
3307+ for tax in taxes:
3308+ if tax.type == 'percent':
3309+ amount = cur_price_unit * tax.amount
3310+ # when tax_include application method change the percent calc method.
3311+ #if tax.include_base_amount:
3312+ #amount = cur_price_unit * tax.amount
3313+ #amount = cur_price_unit - (cur_price_unit / (1 + tax.amount))
3314+ #else:
3315+ #amount = cur_price_unit * tax_parent_tot
3316+ #amount = (cur_price_unit / (1 + tax_parent_tot)) * tax.amount
3317+
3318+ elif tax.type == 'fixed':
3319+ amount = tax.amount
3320+
3321+ elif tax.type == 'code':
3322+ address = address_id and obj_partener_address.browse(cr, uid, address_id) or None
3323+ localdict = {'price_unit': cur_price_unit, 'address': address, 'product': product, 'partner': partner}
3324+ exec tax.python_compute_inv in localdict
3325+ amount = localdict['result']
3326+ elif tax.type == 'balance':
3327+ amount = cur_price_unit - reduce(lambda x, y: y.get('amount', 0.0) + x, res, 0.0)
3328+
3329+ final_price_unit = cur_price_unit
3330+ if tax.include_base_amount:
3331+ cur_price_unit += amount
3332+ #todo = 1
3333+ #else:
3334+ #final_price_unit = cur_price_unit
3335+ #todo = 0
3336+ todo = 0
3337+
3338+ res.append({
3339+ 'id': tax.id,
3340+ 'todo': todo,
3341+ 'name': tax.name,
3342+ 'amount': amount,
3343+ 'account_collected_id': tax.account_collected_id.id,
3344+ 'account_paid_id': tax.account_paid_id.id,
3345+ 'base_code_id': tax.base_code_id.id,
3346+ 'ref_base_code_id': tax.ref_base_code_id.id,
3347+ 'sequence': tax.sequence,
3348+ 'base_sign': tax.base_sign,
3349+ 'tax_sign': tax.tax_sign,
3350+ 'ref_base_sign': tax.ref_base_sign,
3351+ 'ref_tax_sign': tax.ref_tax_sign,
3352+ 'price_unit': final_price_unit,
3353+ 'tax_code_id': tax.tax_code_id.id,
3354+ 'ref_tax_code_id': tax.ref_tax_code_id.id,
3355+ })
3356+ if tax.child_ids:
3357+ if tax.child_depend:
3358+ del res[-1]
3359+ amount = price_unit
3360+
3361+ parent_tax = self._unit_compute_inv(cr, uid, tax.child_ids, amount, address_id, product, partner)
3362+ res.extend(parent_tax)
3363+ #total = 0.0
3364+ #for r in res:
3365+ # if r['todo']:
3366+ # total += r['amount']
3367+ #for r in res:
3368+ # r['price_unit'] -= total
3369+ # r['todo'] = 0
3370+ return res
3371+
3372 account_tax()
3373
3374
3375
3376=== modified file 'l10n_br_account/account_invoice.py'
3377--- l10n_br_account/account_invoice.py 2012-05-03 22:09:49 +0000
3378+++ l10n_br_account/account_invoice.py 2012-05-03 23:39:20 +0000
3379@@ -67,7 +67,7 @@
3380 res[invoice.id]['cofins_value'] += line.cofins_value
3381
3382 for invoice_tax in invoice.tax_line:
3383- if not invoice_tax.tax_code_id.tax_discount:
3384+ if not invoice_tax.tax_code_id.tax_include:
3385 res[invoice.id]['amount_tax'] += invoice_tax.amount
3386
3387 res[invoice.id]['amount_total'] = res[invoice.id]['amount_tax'] + res[invoice.id]['amount_untaxed']
3388@@ -419,6 +419,70 @@
3389 i -= 1
3390 return result
3391
3392+ def finalize_invoice_move_lines(self, cr, uid, invoice_browse, move_lines):
3393+ """finalize_invoice_move_lines(cr, uid, invoice, move_lines) -> move_lines
3394+ Hook method to be overridden in additional modules to verify and possibly alter the
3395+ move lines to be created by an invoice, for special cases.
3396+
3397+ * remove move lines without credit and debit, we have to see where l10n_br modules are creating these error entries;
3398+ * fix move entreis when we have tax_retain
3399+
3400+ :param invoice_browse: browsable record of the invoice that is generating the move lines
3401+ :param move_lines: list of dictionaries with the account.move.lines (as for create())
3402+ :return: the (possibly updated) final move_lines to create for this invoice
3403+ """
3404+ total_taxes_credit = 0
3405+ move_lines_tmp = []
3406+ remove_itens = []
3407+ tax_retained_itens = []
3408+ mv_tmp_tuple = []
3409+ final_credit_ind = -1
3410+
3411+ for ind, move_line in enumerate(move_lines):
3412+ move_line_item = move_line[2]
3413+
3414+ # get itens without credit and debit line - brazilian localization bug
3415+ if not move_line_item['credit'] and not move_line_item['debit']:
3416+ remove_itens.append(ind)
3417+
3418+ # fix final debit line
3419+ elif move_line_item['account_id'] == invoice_browse.account_id.id and not move_line_item['credit']:
3420+ move_line_item['debit'] = invoice_browse.amount_total
3421+
3422+ # get tax_retain values and fix the entry sign
3423+ elif move_line_item['tax_amount'] < 0:
3424+ move_line_item['tax_amount'] = - move_line_item['tax_amount']
3425+ tax_retained_itens.append(ind)
3426+
3427+ # sum tax credit lines
3428+ elif move_line_item['credit'] > 0 and move_line_item['credit'] != invoice_browse.amount_untaxed:
3429+ total_taxes_credit += move_line_item['credit']
3430+
3431+ # get final invoice credit line
3432+ elif move_line_item['credit'] == invoice_browse.amount_untaxed:
3433+ final_credit_ind = ind
3434+
3435+ if final_credit_ind > -1:
3436+ move_lines[final_credit_ind][2]['credit'] = invoice_browse.amount_total - total_taxes_credit
3437+
3438+ # create a credit entry for each debit entry for tax_retain
3439+ for mv_ind in tax_retained_itens:
3440+ mv_tmp = move_lines[mv_ind][2].copy()
3441+ mv_tmp['credit'] = mv_tmp['debit']
3442+ mv_tmp['debit'] = False
3443+ mv_tmp_tuple = 0, 0, mv_tmp
3444+ move_lines_tmp.append(mv_tmp_tuple)
3445+
3446+ # remove itens without credit and debit line - brazilian localization bug
3447+ while remove_itens:
3448+ move_lines.pop(remove_itens.pop())
3449+
3450+ # add new credit entries for tax_retain
3451+ while move_lines_tmp:
3452+ move_lines.append(move_lines_tmp.pop())
3453+
3454+ return move_lines
3455+
3456 def nfe_dv(self, key):
3457 #Testing
3458 return '2'
3459@@ -1985,7 +2049,7 @@
3460 icms_st_base_other += 0
3461
3462 res[line.id] = {
3463- 'price_subtotal': taxes['total'] - taxes['total_tax_discount'],
3464+ 'price_subtotal': taxes['total'],
3465 'price_total': taxes['total'],
3466 'icms_base': icms_base,
3467 'icms_base_other': icms_base_other,
3468
3469=== modified file 'l10n_br_sale/sale.py'
3470--- l10n_br_sale/sale.py 2012-04-25 22:30:37 +0000
3471+++ l10n_br_sale/sale.py 2012-05-03 23:39:20 +0000
3472@@ -263,7 +263,7 @@
3473 val = 0.0
3474 for c in self.pool.get('account.tax').compute_all(cr, uid, line.tax_id, line.price_unit * (1 - (line.discount or 0.0) / 100.0), line.product_uom_qty, line.order_id.partner_invoice_id.id, line.product_id, line.order_id.partner_id, fiscal_operation=line.fiscal_operation_id)['taxes']:
3475 tax_brw = self.pool.get('account.tax').browse(cr, uid, c['id'])
3476- if not tax_brw.tax_code_id.tax_discount:
3477+ if tax_brw.tax_add:
3478 val += c.get('amount', 0.0)
3479 return val
3480