SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 5c5b9e6d authored by George Katsikas's avatar George Katsikas :goat:
Browse files

reset stream tasked status on officer removal

fixes #117
parent bbecffc2
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,8 @@ class AssignOfficerForm(forms.ModelForm):
constants.PROOFS_SOURCE_REQUESTED,
]:
stream.status = constants.PROOFS_TASKED
elif stream.status == constants.PROOFS_TASKED:
stream.status = constants.PRODUCTION_STREAM_INITIATED
stream.save()
return stream
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment