Bulk update of 'Serial Number' not useful? #918

Closed
opened 2025-12-29 16:26:57 +01:00 by adam · 4 comments
Owner

Originally created by @candlerb on GitHub (May 4, 2017).

Issue type: trivial cleanup

(1.9.6)

The Device bulk update page /dcim/devices/edit/ currently allows you to set Serial Number en masse

Is there any use case for setting the same serial number on multiple devices? If not, this field can be removed.

Originally created by @candlerb on GitHub (May 4, 2017). ### Issue type: trivial cleanup (1.9.6) The Device bulk update page `/dcim/devices/edit/` currently allows you to set Serial Number *en masse* Is there any use case for setting the same serial number on multiple devices? If not, this field can be removed.
adam closed this issue 2025-12-29 16:26:57 +01:00
Author
Owner

@Armadill0 commented on GitHub (May 4, 2017):

At least setting them back to null could be useful.

Another, although doubtful, scenario could be to enter a common prefix part of the serial number which is the same for a set of new devices and only the last two or three characters are different.

@Armadill0 commented on GitHub (May 4, 2017): At least setting them back to null could be useful. Another, although doubtful, scenario could be to enter a common prefix part of the serial number which is the same for a set of new devices and only the last two or three characters are different.
Author
Owner

@jeremystretch commented on GitHub (May 4, 2017):

The serial field on the Device model doesn't have a unique constraint, so we allow editing it in bulk. It may not be terribly useful but it's not hurting anything. And if I were to remove it someone would inevitably open a feature request to have it restored anyway.

@jeremystretch commented on GitHub (May 4, 2017): The `serial` field on the Device model doesn't have a unique constraint, so we allow editing it in bulk. It may not be terribly useful but it's not hurting anything. And if I were to remove it someone would inevitably open a feature request to have it restored anyway.
Author
Owner

@candlerb commented on GitHub (May 4, 2017):

Except you can currently bulk update serial number but not asset tag :-)

@candlerb commented on GitHub (May 4, 2017): Except you can currently bulk update serial number but not asset tag :-)
Author
Owner

@jeremystretch commented on GitHub (May 4, 2017):

The asset_tag field has a unique constraint, since it's assumed that asset tags for all devices will be issued by a single authority (as opposed to serial numbers which are issued by various manufacturers).

@jeremystretch commented on GitHub (May 4, 2017): The `asset_tag` field has a unique constraint, since it's assumed that asset tags for all devices will be issued by a single authority (as opposed to serial numbers which are issued by various manufacturers).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#918