Allow to set multiple email invoice recipients (Z#23190766) (#5090)

This commit is contained in:
Raphael Michel
2025-05-13 10:31:07 +02:00
committed by GitHub
parent 47c840b9e5
commit 5bc1fb8e81
2 changed files with 9 additions and 4 deletions

View File

@@ -531,7 +531,7 @@ def send_invoices_to_organizer(sender, **kwargs):
if i.event.settings.invoice_email_organizer:
with language(i.event.settings.locale):
mail(
email=i.event.settings.invoice_email_organizer,
email=[e.strip() for e in i.event.settings.invoice_email_organizer.split(",")],
subject=_('New invoice: {number}').format(number=i.number),
template=LazyI18nString.from_gettext(_(
'Hello,\n\n'