瀏覽代碼

fix: notification is not working if recipients is not set and cc is set

version-14
Rohit Waghchaure 5 年之前
父節點
當前提交
30f30d57ff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/email/doctype/notification/notification.py

+ 1
- 1
frappe/email/doctype/notification/notification.py 查看文件

@@ -143,7 +143,7 @@ def get_context(context):

attachments = self.get_attachment(doc)
recipients, cc, bcc = self.get_list_of_recipients(doc, context)
if not recipients:
if not (recipients or cc or bcc):
return
sender = None
if self.sender and self.sender_email:


Loading…
取消
儲存