[FIX] l10n_ec: change loading order of files

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) <wan@odoo.com>
Signed-off-by: Josse Colpaert <jco@odoo.com>
This commit is contained in:
Josse Colpaert
2022-06-03 17:37:45 +02:00
parent dbc065423b
commit c5f0e89bca
+2 -1
View File
@@ -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",