mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-20 15:05:12 +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:
1 parent
b41dbba2b0
commit
f27acde934
7 files changed
+73
-22
No files matched your search
@@ -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