Merge remote-tracking branch 'inventree/master'

This commit is contained in:
Oliver Walters 2020-06-09 16:28:59 +10:00
commit f40a9d1dad
6 changed files with 3121 additions and 1748 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
{% extends "part/part_base.html" %}
{% load static %}
{% load inventree_extras %}
{% block details %}
{% include "part/tabs.html" with tab='variants' %}
@ -40,7 +41,7 @@
{% endif %}
</td>
<td>{{ variant.description }}</td>
<td>{{ variant.total_stock }}</td>
<td>{% decimal variant.total_stock %}</td>
</tr>
{% endfor %}
</tbody>

View File

@ -112,7 +112,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
<span class='fas fa-edit icon-blue'/>
</button>
{% if item.can_delete %}
<button type='button' class='btn btn-default' id='stock-delete' title='{% trans "Edit stock item" %}'>
<button type='button' class='btn btn-default' id='stock-delete' title='{% trans "Delete stock item" %}'>
<span class='fas fa-trash-alt icon-red'/>
</button>
{% endif %}