Add default ordering for Invoice and OrderPosition

This commit is contained in:
Raphael Michel
2017-03-19 14:47:30 +01:00
parent 76ec402fc5
commit 11ce4c2078
2 changed files with 2 additions and 0 deletions

View File

@@ -122,6 +122,7 @@ class Invoice(models.Model):
class Meta:
unique_together = ('event', 'invoice_no')
ordering = ('invoice_no',)
class InvoiceLine(models.Model):