Custom order emails: Allow to attach tickets and invoices

This commit is contained in:
Raphael Michel
2021-09-30 12:15:55 +02:00
parent 59f6b20129
commit 177906e2ac
4 changed files with 27 additions and 3 deletions

View File

@@ -300,6 +300,9 @@ class Invoice(models.Model):
def __repr__(self):
return '<Invoice {} / {}>'.format(self.full_invoice_no, self.pk)
def __str__(self):
return self.full_invoice_no
class InvoiceLine(models.Model):
"""