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

Include URL data in barcode scan endpoint

This commit is contained in:
Oliver Walters
2020-06-11 19:21:38 +10:00
parent 3aecb110a5
commit 2d9b75c6ae
3 changed files with 57 additions and 5 deletions

View File

@ -390,10 +390,11 @@ $('#stock-add').click(function() {
$("#stock-delete").click(function () {
launchModalForm(
"{% url 'stock-item-delete' item.id %}",
{
redirect: "{% url 'part-stock' item.part.id %}"
});
"{% url 'stock-item-delete' item.id %}",
{
redirect: "{% url 'part-stock' item.part.id %}"
}
);
});
{% endblock %}