Commit 6f5aad26 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Separate preprint and article in 'Check and validate'.

parent e64a0c10
......@@ -111,7 +111,7 @@ def check_publication(row):
# specific fields for article
if row.categories.usual == 'article':
if row.categories.code in ('ACL', 'ACLN'):
if row.publications.id_publishers == UNDEF_ID:
text = T("Publishers is not defined")
......@@ -135,6 +135,13 @@ def check_publication(row):
text = T("Possible duplicate entries")
# specific fields for preprint
if row.categories.code == 'PRE':
if not row.publications.preprint:
text = T("Preprint number is not defined")
# specific fields for proceeding and talk
if row.categories.usual in ('proceeding', 'talk'):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment