diff --git a/sapl/legacy/migration.py b/sapl/legacy/migration.py index 7794ca273..50edb2f5c 100644 --- a/sapl/legacy/migration.py +++ b/sapl/legacy/migration.py @@ -582,10 +582,10 @@ def migrate(obj=appconfs, interativo=True): # MIGRATION_ADJUSTMENTS ##################################################### def adjust_ordemdia_antes_salvar(new, old): - # Prestar atenção + new.votacao_aberta = False + if not old.tip_votacao: new.tipo_votacao = 1 - if old.num_ordem is None: new.numero_ordem = 999999999