From 391e6d1e3ba1d86df273b763185db021aa1149d2 Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Tue, 13 Aug 2024 14:58:59 +0530 Subject: [PATCH] fix(UserSignature): changed field type to TextEditor --- frappe/core/doctype/user/user.json | 7 +++---- frappe/core/doctype/user/user.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frappe/core/doctype/user/user.json b/frappe/core/doctype/user/user.json index c060f3feeb..fb0ce9c96d 100644 --- a/frappe/core/doctype/user/user.json +++ b/frappe/core/doctype/user/user.json @@ -400,7 +400,7 @@ }, { "fieldname": "email_signature", - "fieldtype": "Small Text", + "fieldtype": "Text Editor", "label": "Email Signature", "no_copy": 1 }, @@ -747,8 +747,7 @@ "description": "Redirect to the selected app after login", "fieldname": "default_app", "fieldtype": "Select", - "label": "Default App", - "options": "" + "label": "Default App" } ], "icon": "fa fa-user", @@ -811,7 +810,7 @@ "link_fieldname": "user" } ], - "modified": "2024-08-12 15:23:38.996646", + "modified": "2024-08-13 14:48:15.168516", "modified_by": "Administrator", "module": "Core", "name": "User", diff --git a/frappe/core/doctype/user/user.py b/frappe/core/doctype/user/user.py index bcf55e4e58..20ca7a2f13 100644 --- a/frappe/core/doctype/user/user.py +++ b/frappe/core/doctype/user/user.py @@ -70,7 +70,7 @@ class User(Document): document_follow_frequency: DF.Literal["Hourly", "Daily", "Weekly"] document_follow_notify: DF.Check email: DF.Data - email_signature: DF.SmallText | None + email_signature: DF.TextEditor | None enabled: DF.Check first_name: DF.Data follow_assigned_documents: DF.Check