From 008a55d3d7b3836a2e809f6249ad6695a24b9f1d Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 17 Jun 2019 23:02:44 +1000 Subject: [PATCH] Squashed a bug --- 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 28c7ecfcd3..2825731efc 100644 --- a/InvenTree/build/models.py +++ b/InvenTree/build/models.py @@ -110,7 +110,7 @@ class Build(models.Model): self.completion_date = datetime.now().date() self.completed_by = user - self.status = self.CANCELLED + self.status = BuildStatus.CANCELLED self.save() def getAutoAllocations(self):