From a6026ce945c450d2cbb193e74aeb5b6f3b555e88 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Thu, 20 Jun 2019 16:16:55 +0200 Subject: [PATCH] Proposals should only be advanced after two AC reviews, not two reviews total. --- opentech/apply/review/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/apply/review/views.py b/opentech/apply/review/views.py index d9c9443b0..7b22550b1 100644 --- a/opentech/apply/review/views.py +++ b/opentech/apply/review/views.py @@ -125,7 +125,7 @@ class ReviewCreateOrUpdateView(BaseStreamForm, CreateOrUpdateView): elif self.submission.status == 'proposal_discussion': # Automatically transition the proposal to "Internal review". action = 'proposal_internal_review' - elif self.submission.status == 'external_review' and self.submission.reviews.count() > 1: + elif self.submission.status == 'external_review' and self.submission.reviews.by_reviewers().count() > 1: # Automatically transition the proposal to "Ready for discussion". action = 'post_external_review_discussion' -- GitLab