Count of Inventory Items #1937

Closed
opened 2025-12-29 17:20:44 +01:00 by adam · 0 comments
Owner

Originally created by @mmahacek on GitHub (Aug 13, 2018).

Environment

  • Python version: 3.4
  • NetBox version: 2.4.3

Proposed Functionality

On the device details page, it would be nice to have an indicator of how many inventory items are assigned to the device. This way a tech would know if there are any inventory items for the current device. Also, on the Inventory Items page, it would be nice to have a location that provided a count of items assigned. Including a count on the Inventory tab name would resolve these issues. As it would only query inventory items on page load, it should not add excessive load on the database.

Use Case

I have included a mock up screenshot of the current layout with some possible ways for it to show up in the interface. We are recording battery packs and other replaceable modules, and would like to have an easy way to indicate their existence on the device details page.

Database Changes

None

External Dependencies

None

image

Originally created by @mmahacek on GitHub (Aug 13, 2018). ### Environment * Python version: 3.4 * NetBox version: 2.4.3 ### Proposed Functionality On the device details page, it would be nice to have an indicator of how many inventory items are assigned to the device. This way a tech would know if there are any inventory items for the current device. Also, on the Inventory Items page, it would be nice to have a location that provided a count of items assigned. Including a count on the Inventory tab name would resolve these issues. As it would only query inventory items on page load, it should not add excessive load on the database. ### Use Case I have included a mock up screenshot of the current layout with some possible ways for it to show up in the interface. We are recording battery packs and other replaceable modules, and would like to have an easy way to indicate their existence on the device details page. ### Database Changes None ### External Dependencies None ![image](https://user-images.githubusercontent.com/26419758/44045500-8b1db4dc-9edd-11e8-8f92-fd9d3efb6ac1.png)
adam added the status: acceptedtype: feature labels 2025-12-29 17:20:44 +01:00
adam closed this issue 2025-12-29 17:20:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1937