Update BOM table display

This commit is contained in:
Oliver Walters
2021-06-01 14:17:31 +10:00
parent 0bd0e57f16
commit 9f407df15a
5 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -827,7 +827,7 @@ class BomList(generics.ListCreateAPIView):
if variants is not None:
variants = str2bool(variants)
queryset = queryset.filter(allow_variants=variants)
queryset = queryset.filter(allow_variants=variants)
# Filter by part?
part = params.get('part', None)
+1
View File
@@ -352,6 +352,7 @@ class EditBomItemForm(HelperForm):
'reference',
'overage',
'note',
'allow_variants',
'inherited',
'optional',
]