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_bo | |
| parent | 5b8e4a370ea807df61426e6418ed959891681dff (diff) | |
[IMP] l10n*: CoA loading yml files to xml
Diffstat (limited to 'addons/l10n_bo')
| -rw-r--r-- | addons/l10n_bo/__manifest__.py | 2 | ||||
| -rw-r--r-- | addons/l10n_bo/data/account_chart_template_data.xml | 8 | ||||
| -rw-r--r-- | addons/l10n_bo/data/account_chart_template_data.yml | 3 |
3 files changed, 9 insertions, 4 deletions
diff --git a/addons/l10n_bo/__manifest__.py b/addons/l10n_bo/__manifest__.py index 4fa45a2c140..ad79a8369f9 100644 --- a/addons/l10n_bo/__manifest__.py +++ b/addons/l10n_bo/__manifest__.py @@ -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", ], } diff --git a/addons/l10n_bo/data/account_chart_template_data.xml b/addons/l10n_bo/data/account_chart_template_data.xml new file mode 100644 index 00000000000..9eb1fa02c77 --- /dev/null +++ b/addons/l10n_bo/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_bo.bo_chart_template')]"/> + </function> + </data> +</odoo> diff --git a/addons/l10n_bo/data/account_chart_template_data.yml b/addons/l10n_bo/data/account_chart_template_data.yml deleted file mode 100644 index 270d83345be..00000000000 --- a/addons/l10n_bo/data/account_chart_template_data.yml +++ /dev/null @@ -1,3 +0,0 @@ -- - !python {model: account.chart.template, id: bo_chart_template}: | - self[0].try_loading_for_current_company()
\ No newline at end of file |
