Add setting determining invoice number format (#193)

This commit is contained in:
Tobias Kunze
2016-08-16 21:18:40 +02:00
committed by Raphael Michel
parent 6628d65f9a
commit 4191f93ece
11 changed files with 177 additions and 8 deletions

View File

@@ -252,6 +252,11 @@ class InvoiceSettingsForm(SettingsForm):
help_text=_("Does only work if an invoice address is asked for. VAT ID is not required."),
required=False
)
invoice_numbers_consecutive = forms.BooleanField(
label=_("Generate invoices with consecutive numbers"),
help_text=_("If deactivated, the order code will be used in the invoice number."),
required=False
)
invoice_generate = forms.ChoiceField(
label=_("Generate invoices"),
required=False,