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_hn | |
| parent | 5b8e4a370ea807df61426e6418ed959891681dff (diff) | |
[IMP] l10n*: CoA loading yml files to xml
Diffstat (limited to 'addons/l10n_hn')
| -rw-r--r-- | addons/l10n_hn/__manifest__.py | 1 | ||||
| -rw-r--r-- | addons/l10n_hn/data/account_chart_template_data.xml | 4 | ||||
| -rw-r--r-- | addons/l10n_hn/data/account_chart_template_data.yml | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/addons/l10n_hn/__manifest__.py b/addons/l10n_hn/__manifest__.py index 0efd6838047..f320a9055a3 100644 --- a/addons/l10n_hn/__manifest__.py +++ b/addons/l10n_hn/__manifest__.py @@ -25,6 +25,5 @@ and the Lempira currency.""", 'data/l10n_hn_chart_data.xml', 'data/account_data.xml', 'data/account_chart_template_data.xml', - 'data/account_chart_template_data.yml', ], } diff --git a/addons/l10n_hn/data/account_chart_template_data.xml b/addons/l10n_hn/data/account_chart_template_data.xml index 1badfa8b51e..60bd6f88c6a 100644 --- a/addons/l10n_hn/data/account_chart_template_data.xml +++ b/addons/l10n_hn/data/account_chart_template_data.xml @@ -46,5 +46,9 @@ <field name="tax_group_id" ref="tax_group_iva_15"/> </record> + <function model="account.chart.template" name="try_loading_for_current_company"> + <value eval="[ref('l10n_hn.cuentas_plantilla')]"/> + </function> + </data> </odoo> diff --git a/addons/l10n_hn/data/account_chart_template_data.yml b/addons/l10n_hn/data/account_chart_template_data.yml deleted file mode 100644 index aa01abb2d4f..00000000000 --- a/addons/l10n_hn/data/account_chart_template_data.yml +++ /dev/null @@ -1,3 +0,0 @@ -- - !python {model: account.chart.template, id: cuentas_plantilla}: | - self[0].try_loading_for_current_company() |
