diff --git a/journals/views.py b/journals/views.py index 605cb7f0776c986782141fa7fdb6fe768323da36..763518a9a21b18aa79d9828f5c56d2bc6badc0a0 100644 --- a/journals/views.py +++ b/journals/views.py @@ -237,7 +237,7 @@ def validate_publication(request): publication = validate_publication_form.save() # Fill in remaining data - publication.pdf_file = request.FILES['pdf_file'] + #publication.pdf_file = request.FILES['pdf_file'] submission = publication.accepted_submission publication.authors.add(*submission.authors.all()) publication.authors_claims.add(*submission.authors_claims.all()) diff --git a/submissions/constants.py b/submissions/constants.py index aac77500f373188103b1435b6b7d50599df0bc72..4e8da2fefd15599063680e7711ffe62134cd4d2b 100644 --- a/submissions/constants.py +++ b/submissions/constants.py @@ -117,6 +117,7 @@ ASSIGNMENT_REFUSAL_REASONS = ( ('COI', 'Conflict of interest: coauthor in last 5 years'), ('CCC', 'Conflict of interest: close colleague'), ('NIR', 'Cannot give an impartial assessment'), + ('OFE', 'Outside of my field of expertise'), ('NIE', 'Not interested enough'), ('DNP', 'SciPost should not even consider this paper'), ) diff --git a/submissions/migrations/0067_auto_20170907_1209.py b/submissions/migrations/0067_auto_20170907_1209.py new file mode 100644 index 0000000000000000000000000000000000000000..e15bb1ae0938e84d578a57184f154bbaa4179282 --- /dev/null +++ b/submissions/migrations/0067_auto_20170907_1209.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.4 on 2017-09-07 10:09 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('submissions', '0066_ithenticatereport_part_id'), + ] + + operations = [ + migrations.AlterField( + model_name='editorialassignment', + name='refusal_reason', + field=models.CharField(blank=True, choices=[('BUS', 'Too busy'), ('VAC', 'Away on vacation'), ('COI', 'Conflict of interest: coauthor in last 5 years'), ('CCC', 'Conflict of interest: close colleague'), ('NIR', 'Cannot give an impartial assessment'), ('OFE', 'Outside of my field of expertise'), ('NIE', 'Not interested enough'), ('DNP', 'SciPost should not even consider this paper')], max_length=3, null=True), + ), + migrations.AlterField( + model_name='refereeinvitation', + name='refusal_reason', + field=models.CharField(blank=True, choices=[('BUS', 'Too busy'), ('VAC', 'Away on vacation'), ('COI', 'Conflict of interest: coauthor in last 5 years'), ('CCC', 'Conflict of interest: close colleague'), ('NIR', 'Cannot give an impartial assessment'), ('OFE', 'Outside of my field of expertise'), ('NIE', 'Not interested enough'), ('DNP', 'SciPost should not even consider this paper')], max_length=3, null=True), + ), + ]