mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-03 09:00:57 +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
@@ -456,7 +456,6 @@ class StockItem(MPTTModel):
|
||||
verbose_name=_('Base Part'),
|
||||
related_name='stock_items', help_text=_('Base part'),
|
||||
limit_choices_to={
|
||||
'active': True,
|
||||
'virtual': False
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user