From 09c65eacd3f15cf49944895ef1993ca4b4a6d6d7 Mon Sep 17 00:00:00 2001 From: jbw-odoo Date: Tue, 15 Nov 2022 08:00:57 +0000 Subject: [PATCH] [FIX] allow company to activate it's currency at install When a company is created during the odoo installation, depending on the installation parameters, importing "res_company_data.xml" before "res_currency_data.xml" can prevent the activation of the company currency. E.g. a fresh odoo install with account_accountant and no demo data will have 0 active currencies. X-original-commit: f9247a276b71e9d09bb03c85dc93b36c53703e60 Part-of: odoo/odoo#115444 --- odoo/addons/base/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/addons/base/__manifest__.py b/odoo/addons/base/__manifest__.py index cd1d041658b..76ed56425af 100644 --- a/odoo/addons/base/__manifest__.py +++ b/odoo/addons/base/__manifest__.py @@ -15,10 +15,10 @@ The kernel of Odoo, needed for all installation. 'data/res.lang.csv', 'data/res_lang_data.xml', 'data/res_partner_data.xml', + 'data/res_currency_data.xml', 'data/res_company_data.xml', 'data/res_users_data.xml', 'data/report_paperformat_data.xml', - 'data/res_currency_data.xml', 'data/res_country_data.xml', 'data/ir_demo_data.xml', 'data/ir_config_parameter_data.xml',