Allow to send all invoices to a specific email address (#2072)

Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
Raphael Michel
2021-05-11 12:49:24 +02:00
committed by GitHub
parent ab0fadc0fe
commit 389228bfe8
7 changed files with 92 additions and 2 deletions

View File

@@ -854,6 +854,18 @@ DEFAULTS = {
"to emails."),
)
},
'invoice_email_organizer': {
'default': '',
'type': str,
'form_class': forms.EmailField,
'serializer_class': serializers.EmailField,
'form_kwargs': dict(
label=_("Email address to receive a copy of each invoice"),
help_text=_("Each newly created invoice will be sent to this email address shortly after creation. You can "
"use this for an automated import of invoices to your accounting system. The invoice will be "
"the only attachment of the email."),
)
},
'show_items_outside_presale_period': {
'default': 'True',
'type': bool,