Only create review invitation when the review stage is set.
@@ -89,6 +89,9 @@ def get_conference_builder(client, request_form_id):
submission_remove_options = note.content.get('remove_submission_options', [])
+ # Create review invitation during submission process function only when the venue is public, single blind and the review stage is setup.
+ create_review_invitation = (not double_blind) and note.content.get('Open Reviewing Policy', '') == 'Submissions and reviews should both be public.' and request_forum.content.get('make_reviews_public', None)
+
builder.set_submission_stage(
double_blind = double_blind,
public = public,
@@ -96,9 +99,9 @@ def get_conference_builder(client, request_form_id):
due_date = submission_due_date,
additional_fields = submission_additional_options,
remove_fields = submission_remove_options,
- email_pcs=True, ## Need to add this setting to the form
+ email_pcs=False, ## Need to add this setting to the form
create_groups=(not double_blind),
- create_review_invitation=(not double_blind) and note.content.get('Open Reviewing Policy', '') == 'Submissions and reviews should both be public.'
+ create_review_invitation=create_review_invitation
)
paper_matching_options = note.content.get('Paper Matching', [])
