diff --git a/ietf/wgcharter/migrate.py b/ietf/wgcharter/migrate.py index 14e57f5e0..32121bd9e 100644 --- a/ietf/wgcharter/migrate.py +++ b/ietf/wgcharter/migrate.py @@ -88,7 +88,7 @@ for d in relevant_docs.iterator(): print "MISSING ballot issue event, added ballot for", d.name if e.type == "changed_ballot_position" and not e.ballotpositiondocevent.ballot: - e.ballotpositiondocevent.ballot = ballot + e.ballotpositiondocevent.ballot_id = ballot.id e.ballotpositiondocevent.save() if e.type in ("iesg_approved", "iesg_disapproved") and ballot: