From 0b251f44fb7ed9766af69124efe6c3fc8beb4855 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Fri, 6 Apr 2018 14:54:29 +0530 Subject: [PATCH] [Fix] Owner of the document not getting the notifications for transactions they follow (#5396) --- frappe/core/doctype/communication/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/communication/email.py b/frappe/core/doctype/communication/email.py index 8acececa03..e9464a5a5b 100755 --- a/frappe/core/doctype/communication/email.py +++ b/frappe/core/doctype/communication/email.py @@ -130,7 +130,7 @@ def notify(doc, print_html=None, print_format=None, attachments=None, recipients, cc, bcc = get_recipients_cc_and_bcc(doc, recipients, cc, bcc, fetched_from_email_account=fetched_from_email_account) - if not recipients: + if not recipients and not cc: return doc.emails_not_sent_to = set(doc.all_email_addresses) - set(doc.sent_email_addresses)