mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 21:45:39 +00:00
More fixes
- Allow stock item creation for inactive parts - Better handling of successful stock item creation - Disable fields rather than hiding them
This commit is contained in:
@ -886,7 +886,6 @@
|
||||
onPanelLoad("part-stock", function() {
|
||||
$('#new-stock-item').click(function () {
|
||||
createNewStockItem({
|
||||
reload: true,
|
||||
data: {
|
||||
part: {{ part.id }},
|
||||
{% if part.default_location %}
|
||||
@ -919,7 +918,6 @@
|
||||
|
||||
$('#item-create').click(function () {
|
||||
createNewStockItem({
|
||||
reload: true,
|
||||
data: {
|
||||
part: {{ part.id }},
|
||||
}
|
||||
|
Reference in New Issue
Block a user