When abandoning a chartering effort, only revert to approved charters if there's a chance one is there.
Fixes bug #868 - Legacy-Id: 4805
This commit is contained in:
parent
ee2878aa7b
commit
51426f1bd0
|
@ -73,7 +73,7 @@ def change_state(request, name, option=None):
|
|||
if "-" not in charter_rev:
|
||||
charter_rev = charter_rev + "-00"
|
||||
elif option == "abandon":
|
||||
if wg.state_id == "proposed":
|
||||
if wg.state_id in ("proposed","bof","unknown"):
|
||||
charter_state = State.objects.get(type="charter", slug="notrev")
|
||||
else:
|
||||
charter_state = State.objects.get(type="charter", slug="approved")
|
||||
|
|
Loading…
Reference in a new issue