mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#9481 update child location whem move parent
This commit is contained in:
@ -868,6 +868,7 @@ class Device(NetBoxModel, ConfigContextModel):
|
||||
for device in devices:
|
||||
device.site = self.site
|
||||
device.rack = self.rack
|
||||
device.location = self.location
|
||||
device.save()
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user