From 591861faf0e9a03dcc889637433f1e2c2be6fbc3 Mon Sep 17 00:00:00 2001 From: Swapnesh Shah <swapneshshah111@gmail.com> Date: Sat, 8 Feb 2020 15:00:26 +0000 Subject: [PATCH] [IMP] base: Use correct reference Follow-up on https://github.com/odoo/odoo/commit/22f02af6bf002324ebafc38d4eefeda60063247a Use the correct reference for the file. closes odoo/odoo#44919 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com> --- odoo/addons/base/models/res_lang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/addons/base/models/res_lang.py b/odoo/addons/base/models/res_lang.py index 0920d19b548a..6528b44482de 100644 --- a/odoo/addons/base/models/res_lang.py +++ b/odoo/addons/base/models/res_lang.py @@ -166,7 +166,7 @@ class Lang(models.Model): def install_lang(self): """ - This method is called from odoo/addons/data/res_lang_data.xml to load + This method is called from odoo/addons/base/data/res_lang_data.xml to load some language and set it as the default for every partners. The language is set via tools.config by the '_initialize_db' method on the 'db' object. This is a fragile solution and something else should be -- GitLab