Ignore:
Timestamp:
20 Nov 2014, 09:10:54 (10 years ago)
Author:
Henrik Bettermann
Message:

Add customer document exporter tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py

    r12005 r12007  
    2323from waeup.ikoba.interfaces import MessageFactory as _
    2424
    25 class DocumentCategorySource(ContextualDictSourceFactoryBase):
     25class DocumentTypeSource(ContextualDictSourceFactoryBase):
    2626    """A document type source delivers all types of documents.
    2727
     
    4646    history = Attribute('Object history, a list of messages')
    4747
    48     category = schema.Choice(
    49         title = _(u'Document Category'),
    50         source = DocumentCategorySource(),
     48    doctype = schema.Choice(
     49        title = _(u'Document Type'),
     50        source = DocumentTypeSource(),
    5151        required = True,
    5252        )
Note: See TracChangeset for help on using the changeset viewer.