netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Possibility to change device when editing inventory item.

Open dsl81 opened this issue 2 years ago • 5 comments

NetBox version

v3.3.4

Feature type

Change to existing functionality

Proposed functionality

Return ability to change device when editing inventory item.

Use case

We are using inventory items to account transceivers. When transceiver is moved to another device it should be reflected in netbox. Here it is said that this "feature" was removed for some reason, but if we have to recreate items we will lose history and the hole process of moving items becomes very burdensome.

inventory_item

Database changes

No response

External dependencies

No response

dsl81 avatar Sep 23 '22 08:09 dsl81

Only Inventory items would require this ability to be reassigned, right ?

jsenecal avatar Sep 23 '22 14:09 jsenecal

Sorry, I did not quite understand what you mean by "only". Things like device modules should also be able to be reassigned. Or I got you wrong?

dsl81 avatar Sep 26 '22 07:09 dsl81

Argh. Did this functionality go away? Perhaps as part of some larger change to standardise a bunch of forms?

I currently use inventory items to track line cards etc and until I'm able to migrate to using Modules, will continue to do so. Line cards move between devices from time to time and not having the ability to make this change without deleting and re-creating the inventory item is going to pain me greatly.

cpmills1975 avatar Sep 30 '22 22:09 cpmills1975

Argh. Did this functionality go away? Perhaps as part of some larger change to standardise a bunch of forms?

I currently use inventory items to track line cards etc and until I'm able to migrate to using Modules, will continue to do so. Line cards move between devices from time to time and not having the ability to make this change without deleting and re-creating the inventory item is going to pain me greatly.

Yes it was removed. Besides the pain we will lose all history for the item. So we will not be to track them.

dsl81 avatar Oct 04 '22 06:10 dsl81

We also made extensive use of this feature until it was removed. It would help a lot to have it added back.

robduffy2010 avatar Oct 04 '22 19:10 robduffy2010

Is there a reason that this was removed? With an inventory tracking program, the ability to track device history across locations is heavily desired.

Xanawatt avatar Oct 20 '22 00:10 Xanawatt

It's still possible to change the device id via. the API. At the very least we should align the UI and API.

See also: #9898

kkthxbye-code avatar Nov 01 '22 06:11 kkthxbye-code

It's still possible to change the device id via. the API. At the very least we should align the UI and API.

See also: #9898

Thanks for the link. So moving inventory item was disabled due to this bug? If we align UI and API we will not be able to move items with api also?

dsl81 avatar Nov 01 '22 09:11 dsl81

I updated yesterday from version 3.3.2 to 3.3.8 and I see this issue too. Interesting thing is if you want to change it by bulk edit button, then it works.

cichutkiii avatar Nov 17 '22 11:11 cichutkiii

This is needed pretty much. We're assigning several hundreds of transceivers to interfaces. They all have custom fields for e.g. the programmed compatibility. Having to recreate all that data when a transceiver is moved to a different device is just a PITA. Ideally we even would like to create an inventory item without a device and assign it only later, when the transceiver is plugged. But of course this out of this ticket's scope.

phurrelmann avatar Dec 11 '22 13:12 phurrelmann