mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-17 04:32:51 -06:00
Merge pull request #10246 from netbox-community/9481-child-parent-location
#9481 update child location whem move parent
This commit is contained in:
commit
d85b1c775f
@ -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