diff --git a/submissions/forms.py b/submissions/forms.py index 1fd5527db82fa9c742d3dc13888280e6852e2e85..ef88d0341896ece923b8c7d75697eaea8b29d8a9 100644 --- a/submissions/forms.py +++ b/submissions/forms.py @@ -665,7 +665,7 @@ class SubmissionCycleChoiceForm(forms.ModelForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.fields['refereeing_cycle'].default = None - other_submission = self.instance.other_versions.first() + other_submission = self.instance.other_versions_pool.first() if other_submission: self.fields['referees_reinvite'].queryset = other_submission.referee_invitations.all() diff --git a/submissions/views.py b/submissions/views.py index 7007d5d231c2a9af3164314afbd0f38d241bee4b..dacf0260181b637a1c60e0869e17d23277465e28 100644 --- a/submissions/views.py +++ b/submissions/views.py @@ -1501,7 +1501,7 @@ def fix_College_decision(request, rec_id): elif recommendation.recommendation == -3: # Reject + update-reject other versions of submission submission.status = 'rejected' - for sub in submission.other_versions: + for sub in submission.other_versions_pool: sub.status = 'resubmitted_rejected' sub.save()