2
0
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:
Oliver Walters
2019-07-25 11:04:45 +10:00
parent 42e1370e92
commit 94c0102742
2 changed files with 16 additions and 14 deletions

View File

@@ -118,11 +118,12 @@ class EditStockItemForm(HelperForm):
fields = [
'supplier_part',
'serial',
'batch',
'delete_on_deplete',
'status',
'notes',
'URL',
'delete_on_deplete',
]