Commit 7ee0d591 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Check also report numbers

parent 169699b5
......@@ -333,6 +333,7 @@
'Report format': 'Format du rapport',
'Report identifier separated by comma: LHCb-PROC-2008-04': 'Numéro(s) du rapport séparé par des virgules : LHCb-PROC-2008-04',
'Report number is missing': "Le numéro du rapport n'est pas défini",
'Report numbers contains "Note :" or ";"': 'Le numéro du rapport contient "Note :" ou ";"',
'reports': 'rapports',
'Reports': 'Rapports',
'Request reset password': 'Request reset password',
......@@ -75,7 +75,17 @@ def check_publication(row):
if rules:
text = T("Check latex syntax in the title")
# "Note :" in report number
value = row.publications.report_numbers
rules = "Note :" in value or \
"Note:" in value or \
";" in value
if rules:
text = T('Report numbers contains "Note :" or ";"')
# specific fields for article
if row.categories.usual == 'article':
......@@ -51,6 +51,8 @@
- Rename the table "publishers" and it fields as "reviews".
- Use the check_tools, dupicate_article, ... in harvester.
0.8.1 (Dec 2012)
- Deploy the linked combobox in form.
It almost work but the values are wrong at the first call.
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