fix: default notification

This commit is contained in:
s-aga-r 2024-08-03 10:48:17 +05:30
parent e9e327104d
commit 20224011b8
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Type",
"options": "Mention\nEnergy Point\nAssignment\nShare\nAlert"
"options": "\nMention\nEnergy Point\nAssignment\nShare\nAlert"
},
{
"fieldname": "email_content",
@ -103,7 +103,7 @@
"hide_toolbar": 1,
"in_create": 1,
"links": [],
"modified": "2024-03-23 16:03:31.715461",
"modified": "2024-08-03 09:38:10.497711",
"modified_by": "Administrator",
"module": "Desk",
"name": "Notification Log",

View file

@ -28,7 +28,7 @@ class NotificationLog(Document):
link: DF.Data | None
read: DF.Check
subject: DF.Text | None
type: DF.Literal["Mention", "Energy Point", "Assignment", "Share", "Alert"]
type: DF.Literal["", "Mention", "Energy Point", "Assignment", "Share", "Alert"]
# end: auto-generated types
def after_insert(self):