fix: update event json and check attr
This commit is contained in:
parent
84d740af10
commit
b2d70447fd
2 changed files with 3 additions and 2 deletions
|
|
@ -1148,7 +1148,7 @@ def clear_linked_doctype_cache():
|
|||
frappe.cache().delete_value('linked_doctypes_without_ignore_user_permissions_enabled')
|
||||
|
||||
def check_email_append_to(doc):
|
||||
if not doc.email_append_to:
|
||||
if not hasattr(doc, "email_append_to") or not doc.email_append_to:
|
||||
return
|
||||
|
||||
# Subject Field
|
||||
|
|
|
|||
|
|
@ -270,13 +270,14 @@
|
|||
"fieldname": "sender",
|
||||
"fieldtype": "Data",
|
||||
"label": "Sender",
|
||||
"options": "Email",
|
||||
"read_only": 1
|
||||
}
|
||||
],
|
||||
"icon": "fa fa-calendar",
|
||||
"idx": 1,
|
||||
"links": [],
|
||||
"modified": "2019-12-27 14:45:51.332025",
|
||||
"modified": "2020-01-14 21:47:15.825287",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Desk",
|
||||
"name": "Event",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue