2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Move "stock" part view

This commit is contained in:
Oliver
2021-07-15 12:52:36 +10:00
parent 0667857754
commit 2d2ad91545
8 changed files with 150 additions and 198 deletions

View File

@ -235,7 +235,7 @@
<td>{% trans "Base Part" %}</td>
<td>
{% if roles.part.view %}
<a href="{% url 'part-stock' item.part.id %}">
<a href="{% url 'part-detail' item.part.id %}">
{% endif %}
{{ item.part.full_name }}
{% if roles.part.view %}
@ -561,7 +561,7 @@ $("#stock-delete").click(function () {
launchModalForm(
"{% url 'stock-item-delete' item.id %}",
{
redirect: "{% url 'part-stock' item.part.id %}"
redirect: "{% url 'part-detail' item.part.id %}"
}
);
});