|
@@ -121,11 +121,11 @@ class DeviceBayBulkCreateForm(DeviceBulkAddComponentForm):
|
|
|
|
|
|
|
|
|
|
|
|
|
class InventoryItemBulkCreateForm(
|
|
class InventoryItemBulkCreateForm(
|
|
|
- form_from_model(InventoryItem, ['role', 'manufacturer', 'part_id', 'serial', 'asset_tag', 'discovered']),
|
|
|
|
|
|
|
+ form_from_model(InventoryItem, ['status', 'role', 'manufacturer', 'part_id', 'serial', 'asset_tag', 'discovered']),
|
|
|
DeviceBulkAddComponentForm
|
|
DeviceBulkAddComponentForm
|
|
|
):
|
|
):
|
|
|
model = InventoryItem
|
|
model = InventoryItem
|
|
|
field_order = (
|
|
field_order = (
|
|
|
- 'name', 'label', 'role', 'manufacturer', 'part_id', 'serial', 'asset_tag', 'discovered',
|
|
|
|
|
|
|
+ 'name', 'label', 'status', 'role', 'manufacturer', 'part_id', 'serial', 'asset_tag', 'discovered',
|
|
|
'description', 'tags',
|
|
'description', 'tags',
|
|
|
)
|
|
)
|