diff --git a/netbox/dcim/models/devices.py b/netbox/dcim/models/devices.py index cc5c11818..a4da28803 100644 --- a/netbox/dcim/models/devices.py +++ b/netbox/dcim/models/devices.py @@ -1069,7 +1069,7 @@ class Device( device.location = self.location device.save() - @cached_property + @property def label(self): """ Return the device name if set; otherwise return a generated name if available.