Added default value to Invoice.void (False)

This commit is contained in:
tomtom5152
2015-01-30 00:16:29 +00:00
parent b1b5906038
commit a0cf841d91

View File

@@ -317,7 +317,7 @@ class EventCrew(models.Model):
class Invoice(models.Model):
event = models.OneToOneField('Event')
invoice_date = models.DateField(auto_now_add=True)
void = models.BooleanField()
void = models.BooleanField(default=False)
@property
def sum_total(self):