mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 01:48:38 -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:
|
for device in devices:
|
||||||
device.site = self.site
|
device.site = self.site
|
||||||
device.rack = self.rack
|
device.rack = self.rack
|
||||||
|
device.location = self.location
|
||||||
device.save()
|
device.save()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user