fix locationgroup editor

This commit is contained in:
Laura Klünder 2024-12-15 15:18:12 +00:00
parent 86c600e3e3
commit 10625196f2

View file

@ -357,7 +357,7 @@ class LocationGroup(Location, models.Model):
deferred_fields = self.get_deferred_fields()
self._orig = {
key: getattr(self, key)
for key in ["priority", "hierarchy", "category", "color"]
for key in ("priority", "hierarchy", "category_id", "color")
if key not in deferred_fields
}