Skip to content

Removing Inventory Items with Children Items breaks Inventory count #14042

@corbosman

Description

@corbosman

NetBox version

v3.6.3

Python version

3.8

Steps to Reproduce

  1. add an inventory item to a device
  2. add a child inventory item to the item from 1.
  3. remove both at the same time

Expected Behavior

For the inventory item count to be correct

Observed Behavior

Inventory count is -1
Screenshot 2023-10-14 at 13 25 25
Screenshot 2023-10-14 at 13 25 35

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions