Validate and save the new serailizer

This commit is contained in:
Oliver Walters committed 2022-01-07 11:33:27 +11:00
1 parent 960784644f
commit 12b3a5c9cc
5 files changed
+84 -2

No files matched your search

+1 -1
View File
@@ -555,7 +555,7 @@ class Build(MPTTModel, ReferenceIndexingMixin):
if self.incomplete_count > 0:
return False
if self.completed < self.quantity:
if self.remaining > 0:
return False
if not self.areUntrackedPartsFullyAllocated():