diff --git a/InvenTree/InvenTree/static/script/inventree/modals.js b/InvenTree/InvenTree/static/script/inventree/modals.js index e0a24b4e4f..a17cee0d2c 100644 --- a/InvenTree/InvenTree/static/script/inventree/modals.js +++ b/InvenTree/InvenTree/static/script/inventree/modals.js @@ -77,7 +77,7 @@ function setFieldOptions(fieldName, optionList, options={}) { if (addEmptyOption) { // Add an 'empty' option at the top of the list - field.append(makeOption('---------', '', '---------')); + field.append(``); } optionList.forEach(function(option) { diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index 75e2053076..efa6bf53d1 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -205,6 +205,7 @@ $('#item-create').click(function () { createNewStockItem({ + follow: true, data: { {% if location %} location: {{ location.id }}