mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Bug fix in build views
- Untested code path meant variable was not being set
This commit is contained in:
parent
80771beee9
commit
62f007529e
@ -518,6 +518,8 @@ class BuildItemCreate(AjaxCreateView):
|
|||||||
part = Part.objects.get(pk=part_id)
|
part = Part.objects.get(pk=part_id)
|
||||||
except Part.DoesNotExist:
|
except Part.DoesNotExist:
|
||||||
part = None
|
part = None
|
||||||
|
else:
|
||||||
|
part = None
|
||||||
|
|
||||||
if build_id:
|
if build_id:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user