Skip to content
Snippets Groups Projects
Commit 9dd077f4 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'master' of edugit.org:AlekSIS/onboarding/AlekSIS-App-Tezor

parents d2a744c9 7a986a39
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,8 @@ class InvoiceGroup(ExtensibleModel):
Client, verbose_name=_("Linked client"), related_name="invoice_groups"
)
template_name = models.CharField(verbose_name=_("Template to render invoices with as PDF"), blank=True)
class Meta:
constraints = [
models.UniqueConstraint(fields=["client", "name"], name="group_uniq_per_client")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment