diff options
| author | Yannick Tivisse <yti@odoo.com> | 2017-11-07 10:32:23 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-11-07 11:43:46 +0100 |
| commit | 70a521205aae9ef7259dcbcc609c98b701fa8e1d (patch) | |
| tree | dcfbb68d6cef22056ec525450266785f9cfedc3f /addons/l10n_nl | |
| parent | 5b8e4a370ea807df61426e6418ed959891681dff (diff) | |
[IMP] l10n*: CoA loading yml files to xml
Diffstat (limited to 'addons/l10n_nl')
| -rw-r--r-- | addons/l10n_nl/__manifest__.py | 2 | ||||
| -rw-r--r-- | addons/l10n_nl/data/account_chart_template.yml | 3 | ||||
| -rw-r--r-- | addons/l10n_nl/data/account_chart_template_data.xml | 8 |
3 files changed, 9 insertions, 4 deletions
diff --git a/addons/l10n_nl/__manifest__.py b/addons/l10n_nl/__manifest__.py index cbe2ee4eacd..c13a03ee6ba 100644 --- a/addons/l10n_nl/__manifest__.py +++ b/addons/l10n_nl/__manifest__.py @@ -24,7 +24,7 @@ 'data/account_fiscal_position_template.xml', 'data/account_fiscal_position_tax_template.xml', 'data/account_fiscal_position_account_template.xml', - 'data/account_chart_template.yml', + 'data/account_chart_template_data.xml', 'data/menuitem.xml', ], 'demo': [], diff --git a/addons/l10n_nl/data/account_chart_template.yml b/addons/l10n_nl/data/account_chart_template.yml deleted file mode 100644 index c8402bf62a4..00000000000 --- a/addons/l10n_nl/data/account_chart_template.yml +++ /dev/null @@ -1,3 +0,0 @@ -- - !python {model: account.chart.template, id: l10nnl_chart_template}: | - self[0].try_loading_for_current_company() diff --git a/addons/l10n_nl/data/account_chart_template_data.xml b/addons/l10n_nl/data/account_chart_template_data.xml new file mode 100644 index 00000000000..4b6e5e54d1c --- /dev/null +++ b/addons/l10n_nl/data/account_chart_template_data.xml @@ -0,0 +1,8 @@ +<?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_nl.l10nnl_chart_template')]"/> + </function> + </data> +</odoo> |
