Merge pull request #10246 from netbox-community/9481-child-parent-location

#9481 update child location whem move parent
This commit is contained in:
Jeremy Stretch 2022-09-02 08:25:34 -04:00 committed by GitHub
commit d85b1c775f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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