[Fix] Owner of the document not getting the notifications for transactions they follow (#5396)
This commit is contained in:
parent
4e98f1689e
commit
0b251f44fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue