Skip to content

Commit

Permalink
[ADD] mx generic chart of accounts test
Browse files Browse the repository at this point in the history
  • Loading branch information
alan196 committed Sep 14, 2016
1 parent a680c37 commit 1d2f94b
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions l10n_mx_generic_coa/__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.
22 changes: 22 additions & 0 deletions l10n_mx_generic_coa/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

{
'name': 'Mexico Generic - Accounting',
'version': '1.1',
'category': 'Localization',
'description': """
This is the base module to manage the generic accounting chart in Odoo.
==============================================================================
Install some generic chart of accounts.
""",
'depends': [
'account',
],
'data': [
'data/configurable_account_chart.xml',
],
'installable': True,
'website': 'https://www.odoo.com/page/accounting',
}
20 changes: 20 additions & 0 deletions l10n_mx_generic_coa/data/configurable_account_chart.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">

<record id="transfer_account_id" model="account.account.template">
<field name="code">1017</field>
<field name="name">Transferencias internas</field>
<field name="reconcile" eval='True'/>
<field name="user_type_id" ref="account.data_account_type_current_assets"/>
</record>
<record id="configurable_chart_template" model="account.chart.template">
<field name="name">Mexico Basic Account Chart Template</field>
<field name="transfer_account_id" ref="transfer_account_id"/>
<field name="currency_id" ref="base.MXN"/>
</record>
<record id="transfer_account_id" model="account.account.template">
<field name="chart_template_id" ref="configurable_chart_template"/>
</record>
</data>
</openerp>

0 comments on commit 1d2f94b

Please sign in to comment.