Skip to content
Snippets Groups Projects
Verified Commit 7a986a39 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add template name field to invoice group

parent 4aab8645
No related branches found
No related tags found
No related merge requests found
Pipeline #58394 canceled
......@@ -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