Skip to content

Commit

Permalink
#9481 update child location whem move parent
Browse files Browse the repository at this point in the history
  • Loading branch information
arthanson committed Sep 1, 2022
1 parent ce4d00d commit 2ce1a96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/dcim/models/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ def save(self, *args, **kwargs):
for device in devices:
device.site = self.site
device.rack = self.rack
device.location = self.location
device.save()

@property
Expand Down

0 comments on commit 2ce1a96

Please sign in to comment.