mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
Fixes for "duplicate stock item" form
- Redirect to the new stock item - Display a success message
This commit is contained in:
@ -462,9 +462,7 @@ $("#print-label").click(function() {
|
||||
{% if roles.stock.change %}
|
||||
$("#stock-duplicate").click(function() {
|
||||
// Duplicate a stock item
|
||||
duplicateStockItem({{ item.pk }}, {
|
||||
follow: true,
|
||||
});
|
||||
duplicateStockItem({{ item.pk }}, {});
|
||||
});
|
||||
|
||||
$('#stock-edit').click(function() {
|
||||
|
Reference in New Issue
Block a user