Bug fix in Build.completeBuild

This commit is contained in:
Oliver Walters 2019-06-06 10:43:34 +10:00
parent 96eb4086cf
commit ad5c6630bd

View File

@ -242,7 +242,7 @@ class Build(models.Model):
item.save() item.save()
# Finally, mark the build as complete # Finally, mark the build as complete
self.status = self.COMPLETE self.status = BuildStatus.COMPLETE
self.save() self.save()
def getRequiredQuantity(self, part): def getRequiredQuantity(self, part):