Ver código fonte

Merge pull request #8592 from rohitwaghchaure/fixed_notification_not_working_if_receipients_not_set_but_cc_is_set_v12

fix: notification is not working if recipients is not set and cc is set
version-14
mergify[bot] 5 anos atrás
committed by GitHub
pai
commit
35da38cfc2
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      frappe/email/doctype/notification/notification.py

+ 1
- 1
frappe/email/doctype/notification/notification.py Ver arquivo

@@ -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:


Carregando…
Cancelar
Salvar