explicitely ignore "answers to written question" document type
This commit is contained in:
parent
df3ea49649
commit
0198b7e2b6
|
@ -214,6 +214,8 @@ def possible_document_types(context):
|
|||
for doctype in possible_doctypes:
|
||||
if not doctype:
|
||||
continue
|
||||
if doctype == u'Réponse à question écrite':
|
||||
continue
|
||||
doctype_id = doctype.encode('ascii', 'replace')
|
||||
doctype_str = MAPPING.get(doctype, doctype)
|
||||
terms.append(SimpleVocabulary.createTerm(doctype_id, doctype_id, doctype_str))
|
||||
|
|
Reference in New Issue