mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 19:20:55 +00:00
More refactoring for notifications
- Adds default behaviour for successful stock item creation
This commit is contained in:
@ -308,12 +308,12 @@
|
||||
|
||||
$('#item-create').click(function () {
|
||||
createNewStockItem({
|
||||
follow: true,
|
||||
table: '#stock-table',
|
||||
data: {
|
||||
{% if location %}
|
||||
location: {{ location.id }}
|
||||
{% endif %}
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user