From a220f05f4d63ffd4f29d28a2ec146e1c28b8a242 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Mon, 22 Jun 2020 06:46:29 +0000 Subject: [PATCH] [FIX] odoo: Traceback when creating a new contact Steps to reproduce the bug: - Let's consider a new instance with default installed language 'en_US' - Install CRM - Activate a second language (e.g. en_GB) - Set that language in all users - Inactivate default language 'en_US' - Reset the language of your current user (no value) - Go to contact and try to create a new one Bug: A traceback was raised because the lang en_US did not exist. PS: Forcing the user to set a language ensures that this fallback will never occur anymore. opw:2267711 closes odoo/odoo#53375 Signed-off-by: Simon Goffin (sig) --- odoo/addons/base/views/res_users_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo/addons/base/views/res_users_views.xml b/odoo/addons/base/views/res_users_views.xml index f3b24835761..4d6c3902d08 100644 --- a/odoo/addons/base/views/res_users_views.xml +++ b/odoo/addons/base/views/res_users_views.xml @@ -215,7 +215,7 @@