mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
merge statments
This commit is contained in:
parent
306725ef92
commit
d5bcd256f6
@ -789,8 +789,7 @@ class BomImportExtractSerializer(DataFileExtractSerializer):
|
||||
pass
|
||||
|
||||
# No direct match, where else can we look?
|
||||
if part is None:
|
||||
if part_name or part_ipn:
|
||||
if part is None and (part_name or part_ipn):
|
||||
queryset = Part.objects.all()
|
||||
|
||||
if part_name:
|
||||
|
Loading…
x
Reference in New Issue
Block a user