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_generic_coa/data | |
| parent | 5b8e4a370ea807df61426e6418ed959891681dff (diff) | |
[IMP] l10n*: CoA loading yml files to xml
Diffstat (limited to 'addons/l10n_generic_coa/data')
| -rw-r--r-- | addons/l10n_generic_coa/data/account_chart_template_data.xml | 8 | ||||
| -rw-r--r-- | addons/l10n_generic_coa/data/account_chart_template_data.yml | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/addons/l10n_generic_coa/data/account_chart_template_data.xml b/addons/l10n_generic_coa/data/account_chart_template_data.xml new file mode 100644 index 00000000000..0994cd3932e --- /dev/null +++ b/addons/l10n_generic_coa/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_generic_coa.configurable_chart_template')]"/> + </function> + </data> +</odoo> diff --git a/addons/l10n_generic_coa/data/account_chart_template_data.yml b/addons/l10n_generic_coa/data/account_chart_template_data.yml deleted file mode 100644 index d00cb6ee528..00000000000 --- a/addons/l10n_generic_coa/data/account_chart_template_data.yml +++ /dev/null @@ -1,3 +0,0 @@ -- - !python {model: account.chart.template, id: l10n_generic_coa.configurable_chart_template}: | - self[0].try_loading_for_current_company() |
