From 4da4388b076d4174f813187f05b3ae7c3793497e Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 2 Jan 2026 18:23:45 +0530 Subject: [PATCH 1/2] fix: Hide timeline and right sidebar from system settings --- .../system_settings/system_settings.json | 3 ++- .../system_settings/system_settings.py | 21 +++---------------- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/frappe/core/doctype/system_settings/system_settings.json b/frappe/core/doctype/system_settings/system_settings.json index dc96e11cc7..c1aa3fb0d7 100644 --- a/frappe/core/doctype/system_settings/system_settings.json +++ b/frappe/core/doctype/system_settings/system_settings.json @@ -786,10 +786,11 @@ "label": "Only allow System Managers to upload public files" } ], + "hide_toolbar": 1, "icon": "fa fa-cog", "issingle": 1, "links": [], - "modified": "2025-12-17 15:01:24.823184", + "modified": "2026-01-02 18:13:45.430712", "modified_by": "Administrator", "module": "Core", "name": "System Settings", diff --git a/frappe/core/doctype/system_settings/system_settings.py b/frappe/core/doctype/system_settings/system_settings.py index 687fd006df..cf3386d17c 100644 --- a/frappe/core/doctype/system_settings/system_settings.py +++ b/frappe/core/doctype/system_settings/system_settings.py @@ -34,9 +34,7 @@ class SystemSettings(Document): country: DF.Link | None currency: DF.Link | None currency_precision: DF.Literal["", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] - date_format: DF.Literal[ - "yyyy-mm-dd", "dd-mm-yyyy", "dd/mm/yyyy", "dd.mm.yyyy", "mm/dd/yyyy", "mm-dd-yyyy" - ] + date_format: DF.Literal["yyyy-mm-dd", "dd-mm-yyyy", "dd/mm/yyyy", "dd.mm.yyyy", "mm/dd/yyyy", "mm-dd-yyyy"] default_app: DF.Literal[None] delete_background_exported_reports_after: DF.Int deny_multiple_sessions: DF.Check @@ -56,9 +54,7 @@ class SystemSettings(Document): enable_telemetry: DF.Check enable_two_factor_auth: DF.Check encrypt_backup: DF.Check - first_day_of_the_week: DF.Literal[ - "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" - ] + first_day_of_the_week: DF.Literal["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] float_precision: DF.Literal["", "2", "3", "4", "5", "6", "7", "8", "9"] force_user_to_reset_password: DF.Int force_web_capture_mode_for_uploads: DF.Check @@ -76,18 +72,7 @@ class SystemSettings(Document): max_report_rows: DF.Int max_signups_allowed_per_hour: DF.Int minimum_password_score: DF.Literal["1", "2", "3", "4"] - number_format: DF.Literal[ - "#,###.##", - "#.###,##", - "# ###.##", - "# ###,##", - "#'###.##", - "#, ###.##", - "#,##,###.##", - "#,###.###", - "#.###", - "#,###", - ] + number_format: DF.Literal["#,###.##", "#.###,##", "# ###.##", "# ###,##", "#'###.##", "#, ###.##", "#,##,###.##", "#,###.###", "#.###", "#,###"] only_allow_system_managers_to_upload_public_files: DF.Check otp_issuer_name: DF.Data | None otp_sms_template: DF.SmallText | None From 3c982e4938c3cba8a0beee3af802af66bfd3709b Mon Sep 17 00:00:00 2001 From: Ejaaz Khan Date: Fri, 23 Jan 2026 15:09:09 +0530 Subject: [PATCH 2/2] style: run precommit to make ci green --- .../system_settings/system_settings.py | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/frappe/core/doctype/system_settings/system_settings.py b/frappe/core/doctype/system_settings/system_settings.py index cf3386d17c..687fd006df 100644 --- a/frappe/core/doctype/system_settings/system_settings.py +++ b/frappe/core/doctype/system_settings/system_settings.py @@ -34,7 +34,9 @@ class SystemSettings(Document): country: DF.Link | None currency: DF.Link | None currency_precision: DF.Literal["", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] - date_format: DF.Literal["yyyy-mm-dd", "dd-mm-yyyy", "dd/mm/yyyy", "dd.mm.yyyy", "mm/dd/yyyy", "mm-dd-yyyy"] + date_format: DF.Literal[ + "yyyy-mm-dd", "dd-mm-yyyy", "dd/mm/yyyy", "dd.mm.yyyy", "mm/dd/yyyy", "mm-dd-yyyy" + ] default_app: DF.Literal[None] delete_background_exported_reports_after: DF.Int deny_multiple_sessions: DF.Check @@ -54,7 +56,9 @@ class SystemSettings(Document): enable_telemetry: DF.Check enable_two_factor_auth: DF.Check encrypt_backup: DF.Check - first_day_of_the_week: DF.Literal["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] + first_day_of_the_week: DF.Literal[ + "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" + ] float_precision: DF.Literal["", "2", "3", "4", "5", "6", "7", "8", "9"] force_user_to_reset_password: DF.Int force_web_capture_mode_for_uploads: DF.Check @@ -72,7 +76,18 @@ class SystemSettings(Document): max_report_rows: DF.Int max_signups_allowed_per_hour: DF.Int minimum_password_score: DF.Literal["1", "2", "3", "4"] - number_format: DF.Literal["#,###.##", "#.###,##", "# ###.##", "# ###,##", "#'###.##", "#, ###.##", "#,##,###.##", "#,###.###", "#.###", "#,###"] + number_format: DF.Literal[ + "#,###.##", + "#.###,##", + "# ###.##", + "# ###,##", + "#'###.##", + "#, ###.##", + "#,##,###.##", + "#,###.###", + "#.###", + "#,###", + ] only_allow_system_managers_to_upload_public_files: DF.Check otp_issuer_name: DF.Data | None otp_sms_template: DF.SmallText | None