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