diff --git a/sapl/legacy/migration.py b/sapl/legacy/migration.py index a46696700..9399514e4 100644 --- a/sapl/legacy/migration.py +++ b/sapl/legacy/migration.py @@ -579,6 +579,7 @@ def adjust_protocolo_depois_salvar(new, old): def adjust_autor(new, old): if old.cod_parlamentar: new.autor_related = Parlamentar.objects.get(pk=old.cod_parlamentar) + new.nome = new.autor_related.nome_parlamentar elif old.cod_comissao: new.autor_related = Comissao.objects.get(pk=old.cod_comissao)