diff --git a/sigi/apps/ocorrencias/admin.py b/sigi/apps/ocorrencias/admin.py index 45015e8..4c11ab7 100644 --- a/sigi/apps/ocorrencias/admin.py +++ b/sigi/apps/ocorrencias/admin.py @@ -133,7 +133,7 @@ class OcorrenciaAdmin(admin.ModelAdmin): def save_model(self, request, obj, form, change): if not change: obj.servidor_registro = Servidor.objects.get(user=request.user) - obj.save() + super().save_model(request, obj, form, change) def save_formset(self, request, form, formset, change): instances = formset.save(commit=False)