From 4cd6cee8f96242e0e6f5a7b444c9ae462aedd1a5 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Fri, 20 Dec 2019 13:10:34 +0530 Subject: [PATCH] fix: TypeError in home_settings patch Convert set to list --- frappe/patches/v12_0/fix_home_settings_for_all_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/patches/v12_0/fix_home_settings_for_all_users.py b/frappe/patches/v12_0/fix_home_settings_for_all_users.py index a5184aff70..e26cbd9eef 100644 --- a/frappe/patches/v12_0/fix_home_settings_for_all_users.py +++ b/frappe/patches/v12_0/fix_home_settings_for_all_users.py @@ -34,7 +34,7 @@ def execute(): missing_modules = all_modules - modules_in_home_settings if missing_modules: - home_settings['hidden_modules'] = hidden_modules + missing_modules + home_settings['hidden_modules'] = hidden_modules + list(missing_modules) home_settings = json.dumps(home_settings) frappe.set_value('User', user.name, 'home_settings', home_settings)