From 0cecb056d4585a13ef7f2f2e7ce6f561276a197a Mon Sep 17 00:00:00 2001 From: Pratima Gupta Date: Thu, 30 Apr 2020 13:27:41 +0000 Subject: [PATCH] [IMP] l10n_xx: remove function alias added by f8d4bf44 instead, try_loading used directly. closes odoo/odoo#50382 Task: 2239900 Closes: #50382 Signed-off-by: Josse Colpaert --- addons/account/models/chart_template.py | 1 - addons/l10n_at/data/account_chart_template_configure_data.xml | 2 +- .../l10n_dk/data/account_chart_template_configuration_data.xml | 2 +- .../l10n_id/data/account_chart_template_configuration_data.xml | 2 +- addons/l10n_il/data/account_chart_template_configure_data.xml | 2 +- addons/l10n_lt/data/account_chart_template_load.xml | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py index ad8551c15fe..202aa38b291 100644 --- a/addons/account/models/chart_template.py +++ b/addons/account/models/chart_template.py @@ -179,7 +179,6 @@ class AccountChartTemplate(models.Model): for template in self: template.with_context(default_company_id=company.id)._load(15.0, 15.0, company) - try_loading_for_current_company = try_loading def _load(self, sale_tax_rate, purchase_tax_rate, company): """ Installs this chart of accounts on the current company, replacing diff --git a/addons/l10n_at/data/account_chart_template_configure_data.xml b/addons/l10n_at/data/account_chart_template_configure_data.xml index 8c77e612f1a..a4b4b8588d8 100644 --- a/addons/l10n_at/data/account_chart_template_configure_data.xml +++ b/addons/l10n_at/data/account_chart_template_configure_data.xml @@ -1,7 +1,7 @@ - + diff --git a/addons/l10n_dk/data/account_chart_template_configuration_data.xml b/addons/l10n_dk/data/account_chart_template_configuration_data.xml index 1b52cf0bcd9..5403cdcd179 100644 --- a/addons/l10n_dk/data/account_chart_template_configuration_data.xml +++ b/addons/l10n_dk/data/account_chart_template_configuration_data.xml @@ -1,6 +1,6 @@ - + diff --git a/addons/l10n_id/data/account_chart_template_configuration_data.xml b/addons/l10n_id/data/account_chart_template_configuration_data.xml index f1e028d5a79..0a87f30dbea 100644 --- a/addons/l10n_id/data/account_chart_template_configuration_data.xml +++ b/addons/l10n_id/data/account_chart_template_configuration_data.xml @@ -1,6 +1,6 @@ - + diff --git a/addons/l10n_il/data/account_chart_template_configure_data.xml b/addons/l10n_il/data/account_chart_template_configure_data.xml index 83e4b5c41f3..1fccdf8f9ea 100644 --- a/addons/l10n_il/data/account_chart_template_configure_data.xml +++ b/addons/l10n_il/data/account_chart_template_configure_data.xml @@ -1,6 +1,6 @@ - + diff --git a/addons/l10n_lt/data/account_chart_template_load.xml b/addons/l10n_lt/data/account_chart_template_load.xml index 49005a609f5..7e2c764661e 100644 --- a/addons/l10n_lt/data/account_chart_template_load.xml +++ b/addons/l10n_lt/data/account_chart_template_load.xml @@ -1,6 +1,6 @@ - +