fix locationgroup editor
This commit is contained in:
parent
86c600e3e3
commit
10625196f2
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ class LocationGroup(Location, models.Model):
|
||||||
deferred_fields = self.get_deferred_fields()
|
deferred_fields = self.get_deferred_fields()
|
||||||
self._orig = {
|
self._orig = {
|
||||||
key: getattr(self, key)
|
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
|
if key not in deferred_fields
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue