Update racks.py

This commit is contained in:
Jamie (Bear) Murphy 2025-04-24 18:59:02 +01:00
parent 9456e95097
commit 95f372e76e

View File

@ -725,7 +725,7 @@ class RackReservation(PrimaryModel):
@property
def unit_list(self):
return array_to_string(self.units)
def to_objectchange(self, action):
objectchange = super().to_objectchange(action)
objectchange.related_object = self.rack