Tweak relationship for Department._super_parents
This commit is contained in:
parent
711a0b47fd
commit
56fd3a5a4b
|
@ -125,7 +125,7 @@ class SuperDepartmentView(base.DepartmentView):
|
|||
return query
|
||||
|
||||
def get_parent(self, child):
|
||||
return child._super_parent.parent
|
||||
return child._super_parents[0].parent
|
||||
|
||||
def configure_row_grid(self, g):
|
||||
super(SuperDepartmentView, self).configure_row_grid(g)
|
||||
|
|
Loading…
Reference in a new issue