[IMP] l10n_pt new account chart and taxes for Portugal

bzr revid: api@openerp.com-20121219153238-ry2esy2sdtrpb28m
This commit is contained in:
Arnaud Pineux 2012-12-19 16:32:38 +01:00
commit 07054a4bdc
10 changed files with 4243 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2012 Thinkopen Solutions, Lda. All Rights Reserved
# http://www.thinkopensolutions.com.
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 <http://www.gnu.org/licenses/>.
#
##############################################################################

View File

@ -0,0 +1,48 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2012 Thinkopen Solutions, Lda. All Rights Reserved
# http://www.thinkopensolutions.com.
# $Id$
#
# 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Portugal - Chart of Accounts',
'version': '0.011',
'author': 'ThinkOpen Solutions',
'website': 'http://www.thinkopensolutions.com/',
'category': 'Localization/Account Charts',
'description': 'Plano de contas SNC para Portugal',
'depends': ['base',
'base_vat',
'account',
'account_chart',
],
'init_xml': [],
'update_xml': ['account_types.xml',
'account_chart.xml',
'account_tax_code_template.xml',
'account_chart_template.xml',
'fiscal_position_templates.xml',
'account_taxes.xml',
'l10n_chart_pt_wizard.xml',
],
'demo_xml': [],
'installable': True,
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<!-- Chart template -->
<record id="pt_chart_template" model="account.chart.template">
<field name="name">Portugal - Template do Plano de Contas SNC</field>
<field name="account_root_id" ref="chart_0"/>
<field name="tax_code_root_id" ref="account_tax_code_template_tax_paid"/>
<field name="bank_account_view_id" ref="chart_12"/>
<field name="property_account_receivable" ref="chart_2111"/>
<field name="property_account_payable" ref="chart_2211"/>
<field name="property_account_expense" ref="chart_311"/>
<field name="property_account_income" ref="chart_711"/>
<field name="property_account_income_categ" ref="chart_711"/>
<field name="property_account_expense_categ" ref="chart_311"/>
<field name="property_reserve_and_surplus_account" ref="chart_811"/>
</record>
</data>
</openerp>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record id="account_tax_code_template_tax_paid" model="account.tax.code.template">
<field name="code">TP</field>
<field name="name">Tax Paid</field>
<field name="info">Tax Paid</field>
<field name="sign" eval="1"/>
<field name="notprintable" eval="False"/>
</record>
<record id="account_tax_code_template_tp_21" model="account.tax.code.template">
<field name="code">TP21</field>
<field name="name">TP21</field>
<field name="info">TP21</field>
<field name="sign" eval="1"/>
<field name="parent_id" eval="account_tax_code_template_tax_paid"/>
<field name="notprintable" eval="False"/>
</record>
</data>
</openerp>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record id="iva23" model="account.tax.template">
<field name="chart_template_id" ref="pt_chart_template"/>
<field name="name">IVA23</field>
<field name="description">IVA23</field>
<field name="amount">0.230000</field>
<field name="type">percent</field>
</record>
<record id="iva13" model="account.tax.template">
<field name="chart_template_id" ref="pt_chart_template"/>
<field name="name">IVA13</field>
<field name="description">IVA13</field>
<field name="amount">0.130000</field>
<field name="type">percent</field>
</record>
<record id="iva6" model="account.tax.template">
<field name="chart_template_id" ref="pt_chart_template"/>
<field name="name">IVA6</field>
<field name="description">IVA6</field>
<field name="amount">0.060000</field>
<field name="type">percent</field>
</record>
<record id="iva0" model="account.tax.template">
<field name="chart_template_id" ref="pt_chart_template"/>
<field name="name">IVA0</field>
<field name="description">IVA0</field>
<field name="amount">0.000000</field>
<field name="type">percent</field>
</record>
</data>
</openerp>

View File

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record model="account.account.type" id="user_type_view">
<field name="name">Vista</field>
<field name="code">view</field>
<field name="close_method">none</field>
</record>
<record model="account.account.type" id="user_type_receivable" >
<field name="name">A Receber</field>
<field name="code">receivable</field>
<field name="report_type">income</field>
<field name="close_method">unreconciled</field>
</record>
<record model="account.account.type" id="user_type_payable" >
<field name="name">A Pagar</field>
<field name="code">payable</field>
<field name="report_type">expense</field>
<field name="close_method">unreconciled</field>
</record>
<record model="account.account.type" id="user_type_income" >
<field name="name">Receitas</field>
<field name="code">income</field>
<field name="report_type">income</field>
<field name="close_method">none</field>
</record>
<record model="account.account.type" id="user_type_expense">
<field name="name">Despesa</field>
<field name="code">expense</field>
<field name="report_type">expense</field>
<field name="close_method">none</field>
</record>
<record model="account.account.type" id="user_type_tax">
<field name="name">Impostos</field>
<field name="code">tax</field>
<field name="report_type">expense</field>
<field name="close_method">unreconciled</field>
</record>
<record model="account.account.type" id="user_type_cash">
<field name="name">Caixa</field>
<field name="code">cash</field>
<field name="report_type">asset</field>
<field name="close_method">balance</field>
</record>
<record model="account.account.type" id="user_type_asset">
<field name="name">Activo</field>
<field name="code">asset</field>
<field name="report_type">asset</field>
<field name="close_method">balance</field>
</record>
<record model="account.account.type" id="user_type_equity">
<field name="name">Passivo</field>
<field name="code">equity</field>
<field name="report_type">liability</field>
<field name="close_method">balance</field>
</record>
<record model="account.account.type" id="user_type_liability">
<field name="name">Capital e Resultados</field>
<field name="code">liability</field>
<field name="report_type">liability</field>
<field name="close_method">balance</field>
</record>
</data>
</openerp>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<!-- Fiscal Position Templates -->
<record id="fiscal_position_national_customers" model="account.fiscal.position.template">
<field name="name">Portugal</field>
<field name="chart_template_id" ref="pt_chart_template"/>
</record>
<record id="fiscal_position_foreign_eu" model="account.fiscal.position.template">
<field name="name">Europa</field>
<field name="chart_template_id" ref="pt_chart_template"/>
</record>
<record id="fiscal_position_foreign_other" model="account.fiscal.position.template">
<field name="name">Extra-comunitário</field>
<field name="chart_template_id" ref="pt_chart_template"/>
</record>
</data>
</openerp>

27
addons/l10n_pt/i18n/pt.po Normal file
View File

@ -0,0 +1,27 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * l10n_pt
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 6.0.2\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2011-10-17 11:13+0000\n"
"PO-Revision-Date: 2011-10-17 11:13+0000\n"
"Last-Translator: Thinkopen Solutions.>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: l10n_pt
#: model:ir.module.module,description:l10n_pt.module_meta_information
msgid "TODO: Descrever função"
msgstr "TODO: Descrever função"
#. module: l10n_pt
#: model:ir.module.module,shortdesc:l10n_pt.module_meta_information
msgid "Portuguese Localization"
msgstr "Portugal - SNC Chart of Account"

View File

@ -0,0 +1,8 @@
<openerp>
<data noupdate="1">
<record id="account.action_wizard_multi_chart_todo" model="ir.actions.todo">
<field name="state">open</field>
</record>
</data>
</openerp>