Allow to disable display of foreign currencies on invoices

This commit is contained in:
Raphael Michel
2020-07-03 16:44:26 +02:00
parent 039ca36233
commit c52fdc95a7
6 changed files with 40 additions and 2 deletions

View File

@@ -198,6 +198,16 @@ DEFAULTS = {
label=_("Show attendee names on invoices"),
)
},
'invoice_eu_currencies': {
'default': 'True',
'type': bool,
'form_class': forms.BooleanField,
'serializer_class': serializers.BooleanField,
'form_kwargs': dict(
label=_("On invoices from one EU country into another EU country with a different currency, print the "
"tax amounts in both currencies if possible"),
)
},
'invoice_address_required': {
'default': 'False',
'form_class': forms.BooleanField,