2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 04:26:44 +00:00

Follow link when a new stock item is created

This commit is contained in:
Oliver Walters 2020-05-30 20:58:52 +10:00
parent 8459de7be2
commit dd9584f487

View File

@ -189,9 +189,7 @@
$('#item-create').click(function () { $('#item-create').click(function () {
launchModalForm("{% url 'stock-item-create' %}", launchModalForm("{% url 'stock-item-create' %}",
{ {
success: function() { follow: true,
$("#stock-table").bootstrapTable('refresh');
},
data: { data: {
{% if location %} {% if location %}
location: {{ location.id }} location: {{ location.id }}