mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 01:08:12 +00:00
Improve validation logic for StockItem
- Allow tracked items to exist without a serial number (e.g. non-serialized tracked items)
This commit is contained in:
@@ -118,11 +118,12 @@ class EditStockItemForm(HelperForm):
|
||||
|
||||
fields = [
|
||||
'supplier_part',
|
||||
'serial',
|
||||
'batch',
|
||||
'delete_on_deplete',
|
||||
'status',
|
||||
'notes',
|
||||
'URL',
|
||||
'delete_on_deplete',
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user