Browse Source

Merge pull request #1162 from interlegis/1131-set-votacao_aberta-false

fix #1131 - Define False para votacao_aberta de todas as ordens do dia
pull/1163/head
Luciano Henrique Nunes de Almeida 8 years ago
committed by GitHub
parent
commit
b0d368031c
  1. 4
      sapl/legacy/migration.py

4
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

Loading…
Cancel
Save