Преглед изворни кода

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…
Откажи
Сачувај