Skip to content

Commit

Permalink
[NEW] Brazilian small businesse COA
Browse files Browse the repository at this point in the history
  • Loading branch information
mileo committed Jun 26, 2017
1 parent a84d5ec commit 18bc674
Show file tree
Hide file tree
Showing 8 changed files with 4,161 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/l10n_br_small_business/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
28 changes: 28 additions & 0 deletions addons/l10n_br_small_business/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.


{
'name': 'Brazilian - Plano de Contas Simplificado',
'category': 'Localization',
'description': """
Plano de Contas Simplificado do Conselho Federal de Contabilidade
=================================================================
""",
'author': 'Odoo Brasil',
'website': 'http://www.odoobrasil.org.br',
'depends': [
'l10n_br'
],
'data': [
'data/inherited_account_chart_template_data.xml',
'data/inherited_account_chart_template_data.xml',
'data/inherited_account_account_template_data.xml',
'data/inherited_account_chart_template_properties_data.xml',
"data/account_chart_template_data.yml",
],
'installable': True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-
!python {model: account.chart.template, id: CHART_TEMPLATE_PLANO_SIMPLIFICADO_CFC}: |
self[0].try_loading_for_current_company()
4,071 changes: 4,071 additions & 0 deletions addons/l10n_br_small_business/data/inherited_account_account_template_data.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 Taŭga Tecnologia - Aristides Caldeira <[email protected]>
License AGPL-3 or later (http://www.gnu.org/licenses/agpl)
-->
<odoo noupdate="False">

<!--
Plano de Contas Simplificado do Conselho Federal de Contabilidade
https://www.google.com.br/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjwv4Hoxp3UAhXDFJAKHVmJCmEQFggoMAA&url=http%3A%2F%2Fportalcfc.org.br%2Fwordpress%2Fwp-content%2Fuploads%2F2013%2F01%2FLivro_Escrituracao_contabil.pdf&usg=AFQjCNF6xWnU91EGpTeEE0M8h2uFqMwj3g&sig2=lW_YM82MTyg0zBnoIcMYug
-->
<record id="transfer_account_id" model="account.account.template">
<field name="code">1.1.2.2.03</field>
<field name="name">Transferências</field>
<field name="reconcile" eval="True" />
<field name="is_brazilian_account" eval="True" />
<field name="user_type_id" ref="l10n_br.ACCOUNT_TYPE_CFC_BALANCO_ATIVO_CIRCULANTE_CONTAS_RECEBER" />
<field name="tipo">receber</field>
</record>


<record id="CHART_TEMPLATE_PLANO_SIMPLIFICADO_CFC" model="account.chart.template">
<field name="name">Plano de Contas Simplificado - Conselho Federal de Contabilidade</field>
<field name="is_brazilian_chart_template" eval="True" />
<field name="currency_id" ref="base.BRL" />
<field name="cash_account_code_prefix">1.1.1.1</field>
<field name="bank_account_code_prefix">1.1.1.2</field>
<field name="transfer_account_id" ref="transfer_account_id"/>
<field name="code_digits" eval="1" />
<field name="is_brazilian_chart_template" eval="True" />
</record>

</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 Taŭga Tecnologia - Aristides Caldeira <[email protected]>
License AGPL-3 or later (http://www.gnu.org/licenses/agpl)
-->
<odoo noupdate="False">

<!--
Plano de Contas Simplificado do Conselho Federal de Contabilidade
https://www.google.com.br/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjwv4Hoxp3UAhXDFJAKHVmJCmEQFggoMAA&url=http%3A%2F%2Fportalcfc.org.br%2Fwordpress%2Fwp-content%2Fuploads%2F2013%2F01%2FLivro_Escrituracao_contabil.pdf&usg=AFQjCNF6xWnU91EGpTeEE0M8h2uFqMwj3g&sig2=lW_YM82MTyg0zBnoIcMYug
-->
<record id="CHART_TEMPLATE_PLANO_SIMPLIFICADO_CFC" model="account.chart.template">
<field name="property_account_receivable_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_1_1_2_1_01" />
<field name="property_account_payable_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_2_1_1_4_01" />
<field name="property_account_income_categ_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_6_1_1_1_01" />
<field name="property_account_expense_categ_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_5_1_1_1_01" />
<field name="property_account_income_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_6_1_1_1_01" />
<field name="property_account_expense_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_5_1_1_1_01" />
<field name="property_stock_account_input_categ_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_1_1_3_1_02" />
<field name="property_stock_account_output_categ_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_1_1_3_1_02" />
<field name="property_stock_valuation_account_id" ref="l10n_br_small_business.ACCOUNT_TEMPLATE_CFC_CONTA_1_1_3_1_02" />
</record>

</odoo>
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 18bc674

Please sign in to comment.