Changeset 12007 for main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Timestamp:
- 20 Nov 2014, 09:10:54 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py
r12005 r12007 23 23 from waeup.ikoba.interfaces import MessageFactory as _ 24 24 25 class Document CategorySource(ContextualDictSourceFactoryBase):25 class DocumentTypeSource(ContextualDictSourceFactoryBase): 26 26 """A document type source delivers all types of documents. 27 27 … … 46 46 history = Attribute('Object history, a list of messages') 47 47 48 category= schema.Choice(49 title = _(u'Document Category'),50 source = Document CategorySource(),48 doctype = schema.Choice( 49 title = _(u'Document Type'), 50 source = DocumentTypeSource(), 51 51 required = True, 52 52 )
Note: See TracChangeset for help on using the changeset viewer.