Skip to content

Commit a12259f

Browse files
siku4jeremystretch
authored andcommitted
fix: add missing parent field to inventory item import form
1 parent 753ba5d commit a12259f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/dcim/forms/bulk_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ class InventoryItemImportForm(NetBoxModelImportForm):
10461046
class Meta:
10471047
model = InventoryItem
10481048
fields = (
1049-
'device', 'name', 'label', 'role', 'manufacturer', 'part_id', 'serial', 'asset_tag', 'discovered',
1049+
'device', 'name', 'label', 'role', 'manufacturer', 'parent', 'part_id', 'serial', 'asset_tag', 'discovered',
10501050
'description', 'tags', 'component_type', 'component_name',
10511051
)
10521052

0 commit comments

Comments
 (0)