2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Complete build now works

- Marks build as complete
- Deletes temporary BuildItem objects
- Preselects the part's default_location if there is one
- Creates a new stockitem in the selected location
This commit is contained in:
Oliver Walters
2019-05-02 00:04:39 +10:00
parent 29f7b1a32b
commit 905d78e25c
11 changed files with 198 additions and 23 deletions

View File

@ -1,3 +1,6 @@
{% block pre_form_content %}
{% endblock %}
{% if form.non_field_errors %}
<div class='alert alert-danger' role='alert' style='display: block;'>
<b>Error Submitting Form:</b>
@ -11,4 +14,7 @@
{% crispy form %}
</form>
</form>
{% block post_form_content %}
{% endblock %}