mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
#9481 update child location whem move parent
This commit is contained in:
parent
ce4d00dc21
commit
2ce1a96468
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user