2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

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

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)

View File

@ -352,6 +352,7 @@ class EditBomItemForm(HelperForm):
'reference',
'overage',
'note',
'allow_variants',
'inherited',
'optional',
]