diff --git a/InvenTree/part/bom.py b/InvenTree/part/bom.py index 70cea0601b..79d1bc9e5d 100644 --- a/InvenTree/part/bom.py +++ b/InvenTree/part/bom.py @@ -122,7 +122,7 @@ class BomUploadManager: return None - def get_headers(self): + def columns(self): """ Return a list of headers for the thingy """ headers = [] diff --git a/InvenTree/part/templates/part/bom.html b/InvenTree/part/templates/part/bom.html index ea99c16323..3d61e24e2a 100644 --- a/InvenTree/part/templates/part/bom.html +++ b/InvenTree/part/templates/part/bom.html @@ -62,11 +62,6 @@ {% endblock %} -{% block js_load %} -{{ block.super }} - -{% endblock %} - {% block js_ready %} {{ block.super }} diff --git a/InvenTree/part/templates/part/bom_upload/select_fields.html b/InvenTree/part/templates/part/bom_upload/select_fields.html index ad90530ad8..c423d7b0c1 100644 --- a/InvenTree/part/templates/part/bom_upload/select_fields.html +++ b/InvenTree/part/templates/part/bom_upload/select_fields.html @@ -1,16 +1,20 @@ -{% extends "modal_form.html" %} +{% extends "part/part_base.html" %} +{% load static %} {% load inventree_extras %} -{% block form %} +{% block details %} +{% include "part/tabs.html" with tab='bom' %} +

Upload Bill of Materials

-

Step 2 of 3 - Select BOM Fields

+

Step 2 - Select Fields

+
{% if missing and missing|length > 0 %}