diff --git a/submissions/models.py b/submissions/models.py index 9c3bbcf7b50c7927ca7cf7f65379de024bcd27d0..52c5a0b8682c5439ef86cad092bc235c9dc6a785 100644 --- a/submissions/models.py +++ b/submissions/models.py @@ -754,7 +754,7 @@ class EICRecommendation(SubmissionRelatedObjectMixin, models.Model): """Check if this EICRecommdation is allowed to be reformulated in a new version.""" if not self.active: # Already reformulated before; please use the latest version - return False + return self.submission.eicrecommendations.last() == self return self.submission.status in [STATUS_VOTING_IN_PREPARATION, STATUS_PUT_TO_EC_VOTING]