[configuration] allow blank values for special ifef customizations

This commit is contained in:
Benjamin Dauvergne 2011-03-14 16:39:01 +01:00
parent 2232431fbf
commit d8982d866f
1 changed files with 4 additions and 0 deletions

View File

@ -5,19 +5,23 @@ presentation_args = { 'cols': 80, 'rows': 25 }
for schema in (String('xmlrpc_registration_url',
N_('XMLRPC Neogia registration URL'),
default = '',
allow_none=True,
presentation_hint = { 'args': { 'size': 100 }}),
String('erp_secret',
N_('Shared secret with the ERP'),
default = '',
allow_none=True,
presentation_hint = { 'args': { 'size': 100 }}),
String('cnil_text',
N_("Texte d'information CNIL"),
default = '',
allow_none=True,
presentation_hint = { 'widget': 'Text',
'args': presentation_args }),
String('condition_utilisation',
N_("Condition d'utilisation"),
default = '',
allow_none=True,
presentation_hint = { 'widget': 'Text',
'args': presentation_args })):
configuration.identity_configuration.add_schema(schema)