Skip to content

Commit

Permalink
fix: add missing parent field to inventory item import form
Browse files Browse the repository at this point in the history
  • Loading branch information
siku4 authored and jeremystretch committed Jul 1, 2024
1 parent 753ba5d commit a12259f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/dcim/forms/bulk_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ class InventoryItemImportForm(NetBoxModelImportForm):
class Meta:
model = InventoryItem
fields = (
'device', 'name', 'label', 'role', 'manufacturer', 'part_id', 'serial', 'asset_tag', 'discovered',
'device', 'name', 'label', 'role', 'manufacturer', 'parent', 'part_id', 'serial', 'asset_tag', 'discovered',
'description', 'tags', 'component_type', 'component_name',
)

Expand Down

0 comments on commit a12259f

Please sign in to comment.