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 () {
launchModalForm("{% url 'stock-item-create' %}",
{
success: function() {
$("#stock-table").bootstrapTable('refresh');
},
follow: true,
data: {
{% if location %}
location: {{ location.id }}