2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-15 08:48:11 +00:00

Fix for StockItem creation form

- purchase_price field was required (should not be!)
- Fixed some validation issues
- Cleaned up form implementation
This commit is contained in:
Oliver Walters
2020-11-17 15:29:44 +11:00
parent 9fa718e58d
commit 6144d7e209
5 changed files with 110 additions and 115 deletions

View File

@@ -124,11 +124,11 @@ class CreateStockItemForm(HelperForm):
fields = [
'part',
'supplier_part',
'purchase_price',
'location',
'quantity',
'batch',
'serial_numbers',
'purchase_price',
'link',
'delete_on_deplete',
'status',