From ad5c6630bdda1a739682121b92ecae9b92e97490 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 6 Jun 2019 10:43:34 +1000 Subject: [PATCH] Bug fix in Build.completeBuild --- InvenTree/build/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/build/models.py b/InvenTree/build/models.py index 4f5f1630aa..28c7ecfcd3 100644 --- a/InvenTree/build/models.py +++ b/InvenTree/build/models.py @@ -242,7 +242,7 @@ class Build(models.Model): item.save() # Finally, mark the build as complete - self.status = self.COMPLETE + self.status = BuildStatus.COMPLETE self.save() def getRequiredQuantity(self, part):