From 74756c2764738b434a4516cb10bcae944c778938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 2 Mar 2021 16:50:41 -0300 Subject: [PATCH] Bug no display de gerentes --- sigi/apps/casas/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/casas/admin.py b/sigi/apps/casas/admin.py index c00b3ee..4f62949 100644 --- a/sigi/apps/casas/admin.py +++ b/sigi/apps/casas/admin.py @@ -354,7 +354,7 @@ class CasaLegislativaAdmin(ImageCroppingMixin, BaseModelAdmin): get_uf.admin_order_field = 'municipio__uf__nome' def get_gerentes(self, obj): - return obj.lista_gerentes + return obj.lista_gerentes() get_gerentes.short_description = _(u'Gerente Interlegis') get_gerentes.allow_tags = True