소스 검색

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:


불러오는 중...
취소
저장