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_jp | |
| parent | 5b8e4a370ea807df61426e6418ed959891681dff (diff) | |
[IMP] l10n*: CoA loading yml files to xml
Diffstat (limited to 'addons/l10n_jp')
| -rw-r--r-- | addons/l10n_jp/__manifest__.py | 2 | ||||
| -rw-r--r-- | addons/l10n_jp/data/account_chart_template_configure_data.xml | 8 | ||||
| -rw-r--r-- | addons/l10n_jp/data/account_chart_template_data.yml | 3 |
3 files changed, 9 insertions, 4 deletions
diff --git a/addons/l10n_jp/__manifest__.py b/addons/l10n_jp/__manifest__.py index d8c07d5e2cc..bf8316f51f8 100644 --- a/addons/l10n_jp/__manifest__.py +++ b/addons/l10n_jp/__manifest__.py @@ -37,6 +37,6 @@ need to use these at all under normal circumstances. 'data/account_chart_template_data.xml', 'data/account.fiscal.position.template.csv', 'data/account.fiscal.position.tax.template.csv', - 'data/account_chart_template_data.yml', + 'data/account_chart_template_configure_data.xml', ], } diff --git a/addons/l10n_jp/data/account_chart_template_configure_data.xml b/addons/l10n_jp/data/account_chart_template_configure_data.xml new file mode 100644 index 00000000000..c643e12f4a3 --- /dev/null +++ b/addons/l10n_jp/data/account_chart_template_configure_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_jp.l10n_jp1')]"/> + </function> + </data> +</odoo> diff --git a/addons/l10n_jp/data/account_chart_template_data.yml b/addons/l10n_jp/data/account_chart_template_data.yml deleted file mode 100644 index a95927840ce..00000000000 --- a/addons/l10n_jp/data/account_chart_template_data.yml +++ /dev/null @@ -1,3 +0,0 @@ -- - !python {model: account.chart.template, id: l10n_jp1}: | - self[0].try_loading_for_current_company()
\ No newline at end of file |
