netbox-inventory
netbox-inventory copied to clipboard
Updating asset device type when asset is assigned to a device
Less of an issue and more of a workflow edge case
In this scenario I had created an asset. Then created a device from that asset. So the asset is assigned. I had selected the wrong device type initially and wanted to update it.
- I can update the devices device type
- While the asset is assigned you cannot do an edit and update the device type as the option is greyed out.
- You can get around this with a bulk edit. In this case if I try to update the asset without first updating the device I get the error
device type of device does not match device type of asset. - You have to first update the device then the asset with a bulk edit. This workflow seems cumbersome.
- I guess the other option here is to unassign the asset then update it but this seems ever more cumbersome.
I assume the reason the device type on the asset is greyed out while it is assigned is to prevent you from unsyncing them. But if that is the case you can still edit the device type of the device while an asset is assigned. And you can still edit the asset with the bulk edit feature.
To me it might make sense to replicate the behavior of sync_hardware_serial_asset_tag where it is an optional setting. When on you can update the device type from the asset but can not edit the device.