diff --git a/InvenTree/part/templates/part/bom.html b/InvenTree/part/templates/part/bom.html
index bff082b6ae..19b876d905 100644
--- a/InvenTree/part/templates/part/bom.html
+++ b/InvenTree/part/templates/part/bom.html
@@ -16,9 +16,6 @@
The BOM for {{ part.full_name }} does not have complete pricing information
{% endif %}
-
- Single BOM Price: {{ part.min_bom_price }} to {{ part.max_bom_price }}
-
{% if part.bom_checked_date %}
{% if part.is_bom_valid %}
diff --git a/InvenTree/part/views.py b/InvenTree/part/views.py
index 89065a2afd..02b5b19909 100644
--- a/InvenTree/part/views.py
+++ b/InvenTree/part/views.py
@@ -34,7 +34,7 @@ class PartIndex(ListView):
context_object_name = 'parts'
def get_queryset(self):
- return Part.objects.all() # filter(category=None)
+ return Part.objects.all().select_related('category')
def get_context_data(self, **kwargs):
@@ -355,7 +355,7 @@ class PartDetail(DetailView):
"""
context_object_name = 'part'
- queryset = Part.objects.all()
+ queryset = Part.objects.all().select_related('category')
template_name = 'part/detail.html'
# Add in some extra context information based on query params
@@ -641,7 +641,7 @@ class CategoryDetail(DetailView):
""" Detail view for PartCategory """
model = PartCategory
context_object_name = 'category'
- queryset = PartCategory.objects.all()
+ queryset = PartCategory.objects.all().prefetch_related('children')
template_name = 'part/category.html'