Commit f708ccf2 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Set a default value for the field stage_category.

parent 6e10f799
......@@ -137,6 +137,7 @@
'Title': 'Titre',
'Titre': 'Titre',
'Tools': 'Outils',
'Type': 'Type',
'undefined': 'indéfini',
'University': 'Université',
'Université': 'Université',
......
......@@ -151,7 +151,7 @@ db.define_table("history",
Field("percentage", "integer", default=None),
Field("stage_title", "text", label=T('Title')),
Field("stage_university", "text", label=T('University')),
Field("stage_category", "string", default=undef, label=T("Category")),
Field("stage_category", "string", default=undef, label=T("Type")),
Field("id_organizations", db.organizations, default=undef_id, label='Organization'),
Field("id_levels", db.levels, default=undef_id, label='Level'),
Field("responsibility", "text"),
......
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