diff --git a/mail_composer_cc_bcc/models/mail_mail.py b/mail_composer_cc_bcc/models/mail_mail.py index a035776827..74ed88ff73 100644 --- a/mail_composer_cc_bcc/models/mail_mail.py +++ b/mail_composer_cc_bcc/models/mail_mail.py @@ -14,9 +14,7 @@ def format_emails(partners): - emails = [ - tools.formataddr((p.name or "False", p.email or "False")) for p in partners - ] + emails = [tools.formataddr((p.name or "", p.email)) for p in partners if p.email] return ", ".join(emails)