Commit 2b96a50e authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Unlock the publication field: authors_roles.

parent 2fae8482
......@@ -352,6 +352,7 @@
'Lost': 'Perdu',
'Lost Password': 'Lost Password',
'Lost password?': 'Lost password?',
'main authors': 'auteurs principaux',
'Main layout': 'Main layout',
'MARCXML': 'MARCXML',
'Master field is not properly defined. Check this record.': "La valeur d'un champ est incorrecte. Vérifiez cet enregistrement.",
......
......@@ -10,7 +10,6 @@
fieldsModifier = dbui.FieldsModifier('publications')
fieldsModifier.configure_field('conference_start', format='Y-m-d')
fieldsModifier.configure_field('id_authors_roles', hidden=True)
fieldsModifier.configure_field('origin', xtype='textarea')
fieldsModifier.configure_field('pages', emptyText=T('pages'))
fieldsModifier.configure_field('publication_date', format='Y-m-d')
......
# -*- coding: utf-8 -*-
""" categories
Insert roles for authors
"""
if db(db.authors_roles).count() == 1:
db.authors_roles.insert(id=2, role=T('main authors'))
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