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:
parent
8459de7be2
commit
dd9584f487
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user