Skip to content

Commit

Permalink
Merge PR #1293 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by hbrunn
  • Loading branch information
OCA-git-bot committed Nov 5, 2024
2 parents 9d6e3fa + ef21fb0 commit 129d071
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mail_composer_cc_bcc/models/mail_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, p.email)) for p in partners if p.email]
return ", ".join(emails)


Expand Down

0 comments on commit 129d071

Please sign in to comment.