mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
Bug fix in Build.completeBuild
This commit is contained in:
@ -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):
|
||||||
|
Reference in New Issue
Block a user