Skip to content
Snippets Groups Projects
Commit 70a52120 authored by Yannick Tivisse's avatar Yannick Tivisse
Browse files

[IMP] l10n*: CoA loading yml files to xml

parent 5b8e4a37
No related branches found
No related tags found
No related merge requests found
Showing
with 54 additions and 30 deletions
......@@ -17,6 +17,6 @@ United Arab Emirates accounting chart and localization.
'data': [
'data/account_data.xml',
'data/l10n_ae_chart_data.xml',
'data/account_chart_template_data.yml',
'data/account_chart_template_data.xml',
],
}
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_ae.uae_chart_template_standard')]"/>
</function>
</data>
</odoo>
-
!python {model: account.chart.template, id: uae_chart_template_standard}: |
self[0].try_loading_for_current_company()
......@@ -21,6 +21,6 @@ Plan contable argentino e impuestos de acuerdo a disposiciones vigentes
'data/l10n_ar_chart_data.xml',
'data/account_data.xml',
'data/account_tax_data.xml',
'data/account_chart_template_data.yml',
'data/account_chart_template_data.xml',
],
}
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_ar.ar_chart_template')]"/>
</function>
</data>
</odoo>
-
!python {model: account.chart.template, id: ar_chart_template}: |
self[0].try_loading_for_current_company()
......@@ -18,5 +18,5 @@ Please keep in mind that you should review and adapt it with your Accountant, be
'data': ['data/l10n_at_chart_data.xml',
'data/account_data.xml',
'data/account_tax_data.xml',
'data/account_chart_template_data.yml'],
'data/account_chart_template_data.xml'],
}
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_at.austria_chart_template')]"/>
</function>
</data>
</odoo>
-
!python {model: account.chart.template, id: austria_chart_template}: |
self[0].try_loading_for_current_company()
......@@ -28,7 +28,7 @@ Also:
'data/account.tax.group.csv',
'data/account.tax.template.csv',
'data/account_fiscal_position_tax_template_data.xml',
'data/account_chart_template_data.yml',
'data/account_chart_template_configure_data.xml',
'data/res_currency_data.xml',
],
}
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_au.l10n_au_chart_template')]"/>
</function>
</data>
</odoo>
-
!python {model: account.chart.template, id: l10n_au_chart_template}: |
self[0].try_loading_for_current_company()
......@@ -50,13 +50,11 @@ Wizards provided by this module:
'data/fiscal_templates_data.xml',
'data/account_fiscal_position_tax_template_data.xml',
'data/account_reconcile_model_template.xml',
'data/account_chart_template_data.yml',
'data/account_chart_template_configure_data.xml',
'data/menuitem_data.xml',
],
'demo': [
'demo/l10n_be_demo.yml',
'../account/demo/account_bank_statement.yml',
'../account/demo/account_invoice_demo.yml',
],
'website': 'https://www.odoo.com/page/accounting',
'post_init_hook': 'load_translations',
......
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_be.l10nbe_chart_template')]"/>
</function>
</data>
</odoo>
-
!python {model: account.chart.template, id: l10nbe_chart_template}: |
self[0].try_loading_for_current_company()
......@@ -20,6 +20,6 @@ Plan contable boliviano e impuestos de acuerdo a disposiciones vigentes
"data/l10n_bo_chart_data.xml",
'data/account_data.xml',
"data/account_tax_data.xml",
"data/account_chart_template_data.yml",
"data/account_chart_template_data.xml",
],
}
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<function model="account.chart.template" name="try_loading_for_current_company">
<value eval="[ref('l10n_bo.bo_chart_template')]"/>
</function>
</data>
</odoo>
-
!python {model: account.chart.template, id: bo_chart_template}: |
self[0].try_loading_for_current_company()
\ No newline at end of file
......@@ -52,6 +52,5 @@ come with any additional paid permission for online use of 'private modules'.
'data/account_data.xml',
'data/account_tax_template_data.xml',
'views/account_view.xml',
'data/account_chart_template_data.yml',
],
}
-
!python {model: account.chart.template, id: l10n_br_account_chart_template}: |
self[0].try_loading_for_current_company()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment