Browse Source

Continuação do commit anterior

pull/2761/head
Edward Ribeiro 6 years ago
committed by Cesar Carvalho
parent
commit
f07a6ff632
  1. 2
      sapl/sessao/views.py

2
sapl/sessao/views.py

@ -597,7 +597,7 @@ class ExpedienteMateriaCrud(MasterDetailCrud):
form_class = ExpedienteMateriaForm
def get_initial(self):
initial = super(UpdateView, self).get_initial()
initial = super().get_initial()
initial['tipo_materia'] = self.object.materia.tipo.id
initial['numero_materia'] = self.object.materia.numero
initial['ano_materia'] = self.object.materia.ano

Loading…
Cancel
Save