diff --git a/tabellio/searchform/form.py b/tabellio/searchform/form.py index 464b613..e261d6d 100644 --- a/tabellio/searchform/form.py +++ b/tabellio/searchform/form.py @@ -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))