Skip to content

Commit

Permalink
[MIG] l10n_* : Migrated to new API
Browse files Browse the repository at this point in the history
[MIG] l10n_ae : Migrated to new API.

[MIG] l10n_ar : Migrated to new API.

[MIG] l10n_at : Migrated to new API.

[MIG] l10n_au : Migrated to new API.

[MIG] l10n_be : Migrated to new API.

[MIG] l10n_bo : Migrated to new API.

[MIG] l10n_br : Migrated to new API.

[MIG] l10n_ca : Migrated to new API.

[MIG] l10n_ch : Migrated to new API.

[MIG] l10n_cl : Migrated to new API.

[MIG] l10n_cn : Migrated to new API.

[MIG] l10n_co : Migrated to new API.

[MIG] l10n_cr : Migrated to new API.

[MIG] l10n_de : Migrated to new API.

[MIG] l10n_de_skr03 : Migrated to new API.

[MIG] l10n_de_skr04 : Migrated to new API.

[MIG] l10n_cn_small_business : Migrated to new API.

[MIG] l10n_cn_standard : Migrated to new API.

[MIG] l10n_do : Migrated to new API.

[MIG] l10n_ec : Migrated to new API.

[MIG] l10n_es : Migrated to new API.

[MIG] l10n_et : Migrated to new API.

[MIG] l10n_fr : Migrated to new API.

[MIG] l10n_generic_coa : Migrated to new API.

[MIG] l10n_gr : Migrated to new API.

[MIG] l10n_gt : Migrated to new API.

[MIG] l10n_hn : Migrated to new API.

[MIG] l10n_hr : Migrated to new API.

[MIG] l10n_hu : Migrated to new API.

[MIG] l10n_in : Migrated to new API.

[MIG] l10n_it : Migrated to new API.

[MIG] l10n_jp : Migrated to new API.

[MIG] l10n_lu : Migrated to new API.

[MIG] l10n_ma : Migrated to new API.

[MIG] l10n_mx : Migrated to new API.

[MIG] l10n_nl : Migrated to new API.

[MIG] l10n_no : Migrated to new API.

[MIG] l10n_nz : Migrated to new API.

[MIG] l10n_pa : Migrated to new API.

[MIG] l10n_pe : Migrated to new API.

[MIG] l10n_pl : Migrated to new API.

[MIG] l10n_ro : Migrated to new API.

[MIG] l10n_sa : Migrated to new API.

[MIG] l10n_sg : Migrated to new API.

[MIG] l10n_si : Migrated to new API.

[MIG] l10n_syscohada : Migrated to new API.

[MIG] l10n_th : Migrated to new API.

[MIG] l10n_tr : Migrated to new API.

[MIG] l10n_uk : Migrated to new API.

[MIG] l10n_us : Migrated to new API.

[MIG] l10n_uy : Migrated to new API.

[MIG] l10n_ve : Migrated to new API.

[MIG] l10n_vn : Migrated to new API.
  • Loading branch information
rop-odoo authored and tivisse committed Jul 6, 2016
1 parent 1801267 commit ad7ca14
Show file tree
Hide file tree
Showing 203 changed files with 284 additions and 647 deletions.
2 changes: 1 addition & 1 deletion addons/l10n_ae/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (C) 2014 Tech Receptives (<http://techreceptives.com>).
5 changes: 1 addition & 4 deletions addons/l10n_ae/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (C) 2014 Tech Receptives (<http://techreceptives.com>)

{
'name': 'U.A.E. - Accounting',
'version': '1.0',
'author': 'Tech Receptives',
'website': 'http://www.techreceptives.com',
'category': 'Localization',
Expand All @@ -15,10 +14,8 @@
""",
'depends': ['base', 'account'],
'demo': [ ],
'data': [
'data/l10n_ae_chart_data.xml',
'data/account_chart_template_data.yml',
],
'installable': True,
}
1 change: 0 additions & 1 deletion addons/l10n_ae/data/l10n_ae_chart_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1496,5 +1496,4 @@
<field name="account_id" ref="uae_account_3726"/>
<field name="refund_account_id" ref="uae_account_3726"/>
</record>

</odoo>
2 changes: 1 addition & 1 deletion addons/l10n_ar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (c) 2011 Cubic ERP - Teradata SAC. (http://cubicerp.com)
5 changes: 1 addition & 4 deletions addons/l10n_ar/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (c) 2011 Cubic ERP - Teradata SAC. (http://cubicerp.com)
Expand All @@ -22,7 +22,4 @@
'data/account_tax_data.xml',
'data/account_chart_template_data.yml',
],
'demo': [],
'active': False,
'installable': True,
}
2 changes: 0 additions & 2 deletions addons/l10n_ar/data/account_tax_data.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<!-- Account Tags -->

<record id="tag_ar_01" model="account.account.tag">
Expand Down Expand Up @@ -202,5 +201,4 @@
<field name="account_id" ref="231"/>
<field name="tag_ids" eval="[(6,0,[ref('tag_ar_12')])]"/>
</record>

</odoo>
3 changes: 0 additions & 3 deletions addons/l10n_ar/data/l10n_ar_chart_data.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>

<odoo>
<menuitem id="account_reports_ar_statements_menu" name="Argentine Statements" parent="account.menu_finance_reports" sequence="3" groups="account.group_account_user"/>

Expand Down Expand Up @@ -868,6 +867,4 @@
<field name="expense_currency_exchange_account_id" ref="524"/>
<field name="income_currency_exchange_account_id" ref="426"/>
</record>


</odoo>
2 changes: 1 addition & 1 deletion addons/l10n_at/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (C) conexus
Expand Down
5 changes: 1 addition & 4 deletions addons/l10n_at/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (C) conexus.at
Expand All @@ -15,10 +15,7 @@
=============================================================================================================
Please keep in mind that you should review and adapt it with your Accountant, before using it in a live Environment.
""",
'demo': [],
'data': ['data/l10n_at_chart_data.xml',
'data/account_tax_data.xml',
'data/account_chart_template_data.yml'],
'auto_install': False,
'installable': True
}
6 changes: 0 additions & 6 deletions addons/l10n_at/data/account_tax_data.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>


<!-- Account Tags -->

<record id="tag_at_01" model="account.account.tag">
Expand Down Expand Up @@ -521,7 +518,4 @@
<field name="account_dest_id" ref="chart4050" />
</record>
<!-- KUNDE AUSLAND -->


</data>
</odoo>
3 changes: 1 addition & 2 deletions addons/l10n_au/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (C) 2015 Willow IT Pty Ltd (<http://www.willowit.com.au>).

5 changes: 1 addition & 4 deletions addons/l10n_au/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (C) 2015 Willow IT Pty Ltd (<http://www.willowit.com.au>).
Expand Down Expand Up @@ -30,7 +30,4 @@
'data/account_chart_template_data.yml',
'data/res_currency_data.xml',
],
'demo': [],
'installable': True,
'images': [],
}
6 changes: 2 additions & 4 deletions addons/l10n_au/data/account_chart_template_data.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<odoo>
<record id="l10n_au_chart_template" model="account.chart.template">
<field name="property_account_receivable_id" ref="au_11200"/>
<field name="property_account_payable_id" ref="au_21200"/>
Expand All @@ -12,5 +11,4 @@
<field name="expense_currency_exchange_account_id" ref="au_61630"/>
<field name="income_currency_exchange_account_id" ref="au_61630"/>
</record>
</data>
</openerp>
</odoo>
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<record id="fiscal_position_os_partner" model="account.fiscal.position.template">
<field name="name">OS Partner</field>
<field name="chart_template_id" ref="l10n_au_chart_template"/>
Expand Down Expand Up @@ -35,6 +34,4 @@
<field name="tax_src_id" ref="au_tax_purchase_capital"/>
<field name="tax_dest_id" ref="au_tax_purchase_0"/>
</record>

</data>
</openerp>
</odoo>
8 changes: 2 additions & 6 deletions addons/l10n_au/data/l10n_au_chart_data.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">

<odoo>
<record id="au_11170" model="account.account.template">
<field name="name">Transfers</field>
<field name="code">11170</field>
Expand All @@ -21,6 +19,4 @@
<record id="au_11170" model="account.account.template">
<field name="chart_template_id" ref="l10n_au_chart_template"/>
</record>

</data>
</openerp>
</odoo>
4 changes: 2 additions & 2 deletions addons/l10n_au/data/res_currency_data.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<odoo>
<data noupdate="1">
<record id="base.AUD" model="res.currency">
<field name="active" eval="True"/>
Expand All @@ -23,4 +23,4 @@
<field name="active" eval="True"/>
</record>
</data>
</openerp>
</odoo>
6 changes: 3 additions & 3 deletions addons/l10n_be/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from openerp import SUPERUSER_ID
from odoo import api, SUPERUSER_ID

def load_translations(cr, registry):
chart_template = registry['ir.model.data'].xmlid_to_object(cr, SUPERUSER_ID, 'l10n_be.l10nbe_chart_template')
chart_template.process_coa_translations()
env = api.Environment(cr, SUPERUSER_ID, {})
env.ref('l10n_be.l10nbe_chart_template').process_coa_translations()
3 changes: 0 additions & 3 deletions addons/l10n_be/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
'../account/demo/account_bank_statement.yml',
'../account/demo/account_invoice_demo.yml',
],
'test': [
],
'installable': True,
'website': 'https://www.odoo.com/page/accounting',
'post_init_hook': 'load_translations',
}
11 changes: 3 additions & 8 deletions addons/l10n_be/data/account_chart_template_data.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data noupdate="0">

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="trans" model="account.account.template">
<field name="name">Transferts</field>
<field name="code">580</field>
Expand All @@ -18,7 +16,4 @@
<record id="trans" model="account.account.template">
<field name="chart_template_id" ref="l10nbe_chart_template"/>
</record>


</data>
</openerp>
</odoo>
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data noupdate="0">

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- account.fiscal.position.tax.template -->
<record id="afpttn_intracom_1" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_template_3"/>
Expand Down Expand Up @@ -323,5 +321,4 @@
<field name="tax_src_id" ref="attn_VAT-IN-V83-21"/>
<field name="tax_dest_id" ref="attn_VAT-IN-V83-21-CC"/>
</record>
</data>
</openerp>
</odoo>
7 changes: 2 additions & 5 deletions addons/l10n_be/data/account_pcmn_belgium_data.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

<odoo>
<!-- Chart template of l10n_be -->
<!-- Account template definition -->
<record id="a1000" model="account.account.template">
Expand Down Expand Up @@ -1164,5 +1162,4 @@
<field name="expense_currency_exchange_account_id" ref="a654"/>
<field name="income_currency_exchange_account_id" ref="a754"/>
</record>
</data>
</openerp>
</odoo>
8 changes: 3 additions & 5 deletions addons/l10n_be/data/account_tax_template_data.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data noupdate="0">
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Tax Tags, used in VAT report-->
<record id="tax_tag_00" model="account.account.tag">
<field name="name">Belgium VAT Form: grid 0</field>
Expand Down Expand Up @@ -1783,5 +1782,4 @@
<field name="chart_template_id" ref="l10nbe_chart_template"/>
<field name="tag_ids" eval="[(6,0,[ref('tax_tag_62')])]"/>
</record>
</data>
</openerp>
</odoo>
7 changes: 2 additions & 5 deletions addons/l10n_be/data/fiscal_templates_data.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

<odoo>
<!-- Fiscal Position Templates -->

<record id="fiscal_position_template_1" model="account.fiscal.position.template">
Expand Down Expand Up @@ -59,5 +57,4 @@
<field name="account_src_id" ref="l10n_be.a7050" />
<field name="account_dest_id" ref="l10n_be.a7052" />
</record>
</data>
</openerp>
</odoo>
9 changes: 3 additions & 6 deletions addons/l10n_be/data/l10n_be_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<openerp>
<data>
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--
Sequences for declarantnum will be used in wizard for "Listing of VAT Customers"..in creating xml file
-->
Expand All @@ -10,6 +9,4 @@
<field name="padding">5</field>
<field name="company_id" eval="False"/>
</record>

</data>
</openerp>
</odoo>
6 changes: 3 additions & 3 deletions addons/l10n_be/data/menuitem_data.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<menuitem id="account_reports_be_statements_menu" name="Belgium Statements" parent="account.menu_finance_reports" sequence="3" groups="account.group_account_user"/>
</openerp>
</odoo>
2 changes: 1 addition & 1 deletion addons/l10n_bo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (c) 2011 Cubic ERP - Teradata SAC. (https://cubicerp.com).
3 changes: 1 addition & 2 deletions addons/l10n_bo/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (c) 2011 Cubic ERP - Teradata SAC. (https://cubicerp.com).
Expand All @@ -21,5 +21,4 @@
"data/account_tax_data.xml",
"data/account_chart_template_data.yml",
],
"installable": True,
}
2 changes: 0 additions & 2 deletions addons/l10n_bo/data/account_tax_data.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<!-- Account Tags -->

<record id="tag_bo_01" model="account.account.tag">
Expand Down Expand Up @@ -143,5 +142,4 @@
<field name="account_id" ref="232"/>
<field name="tag_ids" eval="[(6,0,[ref('tag_bo_03'), ref('tag_bo_21')])]"/>
</record>

</odoo>
1 change: 0 additions & 1 deletion addons/l10n_bo/data/l10n_bo_chart_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -951,5 +951,4 @@
<field name="income_currency_exchange_account_id" ref="ch_bo_426"/>
<field name="expense_currency_exchange_account_id" ref="ch_bo_524"/>
</record>

</odoo>
2 changes: 1 addition & 1 deletion addons/l10n_br/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

# Copyright (C) 2009 Renato Lima - Akretion
Expand Down
Loading

0 comments on commit ad7ca14

Please sign in to comment.