2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

BOM upload: improve generation of "import" template

- Better field naming
- Remove some fields which are not required here
- Better description of what is going to happen
This commit is contained in:
Oliver Walters
2020-08-18 11:47:27 +10:00
parent 89c7f72caf
commit 476cc5f661
3 changed files with 73 additions and 7 deletions

View File

@@ -1,18 +1,23 @@
{% extends "part/part_base.html" %}
{% load static %}
{% load i18n %}
{% load inventree_extras %}
{% block details %}
{% include "part/tabs.html" with tab='bom' %}
<h4>Upload Bill of Materials</h4>
<h4>{% trans "Upload Bill of Materials" %}</h4>
<hr>
<p>Step 1 - Select BOM File</p>
<p>{% trans "Step 1 - Select BOM File" %}</p>
<div class='alert alert-info alert-block'>
<p>The BOM file must contain the required named columns as provided in the <a href="/part/bom_template/">BOM Upload Template</a></a></p>
<b>{% trans "Requirements for BOM upload" %}:</b>
<ul>
<li>{% trans "The BOM file must contain the required named columns as provided in the " %} <b><a href="/part/bom_template/">{% trans "BOM Upload Template" %}</a></b></li>
<li>{% trans "Each part must already exist in the database" %}</li>
</ul>
</div>
<form method="post" action='' class='js-modal-form' enctype="multipart/form-data">