From c5f0e89bca1aa58d0663b28c7ded434944a4ff02 Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Fri, 3 Jun 2022 11:15:36 +0000 Subject: [PATCH] [FIX] l10n_ec: change loading order of files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There was a problem loading the demo data, because at the installation of the CoA, the document types had not been loaded yet. By changing the order in which the files are loaded in the manifest, we make sure that the when we upgrade the demo data to Ecuadorian standards that the right document type is set. (as it will be there because it will be loaded before the loading of the demo data) closes odoo/odoo#92889 X-original-commit: a641cfb470c5454a8772851f1f9c6c0271b23774 Signed-off-by: William André (wan) Signed-off-by: Josse Colpaert --- addons/l10n_ec/__manifest__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/l10n_ec/__manifest__.py b/addons/l10n_ec/__manifest__.py index da00d349e6d..f2a4e772e6f 100644 --- a/addons/l10n_ec/__manifest__.py +++ b/addons/l10n_ec/__manifest__.py @@ -63,7 +63,6 @@ Master Data: "data/l10n_latam_identification_type_data.xml", "data/res_partner_data.xml", # Other data - "data/account_chart_template_configure_data.xml", "data/l10n_latam.document.type.csv", "data/l10n_ec.sri.payment.csv", "views/account_tax_view.xml", @@ -71,6 +70,8 @@ Master Data: "views/l10n_ec_sri_payment.xml", "views/account_journal_view.xml", "security/ir.model.access.csv", + # Try loading CoA + "data/account_chart_template_configure_data.xml", ], "demo": [ "demo/demo_company.xml",