diff --git a/sessao/views.py b/sessao/views.py index 3ffb49d46..56ea07110 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -121,7 +121,7 @@ class PresencaView(FormMixin, sessao_crud.CrudDetailView): for p in marcados: sessao = SessaoPlenariaPresenca() - sessao.sessao_plen = self.object + sessao.sessao_plenaria = self.object sessao.parlamentar = Parlamentar.objects.get(id=p) sessao.save()