diff --git a/sessao/views.py b/sessao/views.py index ef6dd2e41..54f431a93 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -733,7 +733,7 @@ class ExpedienteView(FormMixin, sessao_crud.CrudDetailView): ExpedienteSessao.objects.get( sessao_plenaria_id=self.object.id, - tip_oid=tipo + tipo_id=tipo ).delete() expediente = ExpedienteSessao()