SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 44b03adc authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Bug fix

parent bcccbcbe
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,8 @@ def required_actions(submission):
todo.append('A Comment from %s has been delivered but is not yet vetted. '
'Please vet it.' % comment.author)
nr_ref_inv = submission.refereeinvitation_set.count()
if submission.is_resubmission and nr_ref_inv == 0 and not submission.eicrecommendation :
if (submission.is_resubmission and nr_ref_inv == 0
and not submission.eicrecommendation_set.exists()):
todo.append('This resubmission requires attention: either (re)invite referees '
'or formulate an Editorial Recommendation.')
if nr_ref_inv == 0 and not submission.is_resubmission:
......
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