diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index bc69b3029..f2bb0cc7b 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -4188,6 +4188,7 @@ class VotacaoEmBlocoSimbolicaView(PermissionRequiredForAppCrudMixin, TemplateVie logger = logging.getLogger(__name__) def post(self, request, *args, **kwargs): + tasks.get_dados_painel_final(self.kwargs['pk']) if not 'context' in locals(): context = {'pk': self.kwargs['pk'], @@ -4242,7 +4243,7 @@ class VotacaoEmBlocoSimbolicaView(PermissionRequiredForAppCrudMixin, TemplateVie context.update({'expedientes': expedientes, 'total_presentes': qtde_presentes, 'total_votantes': qtde_ativos}) - + if 'salvar-votacao' in request.POST: form = VotacaoForm(request.POST)