Ignore:
Timestamp:
20 Nov 2014, 21:39:40 (10 years ago)
Author:
Henrik Bettermann
Message:

Add first browser components with tests.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/documents
Files:
2 edited

Legend:

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

    r12007 r12015  
    4646    history = Attribute('Object history, a list of messages')
    4747
    48     doctype = schema.Choice(
    49         title = _(u'Document Type'),
    50         source = DocumentTypeSource(),
    51         required = True,
    52         )
    53 
    5448    title = schema.TextLine(
    5549        title = _(u'Document Title'),
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/workflow.py

    r11997 r12015  
    1 ## $Id: batching.py 11891 2014-10-28 20:02:45Z henrik $
     1## $Id$
    22##
    33## Copyright (C) 2014 Uli Fouquet & Henrik Bettermann
     
    3434VERIFIED = 'verified'
    3535REJECTED = 'rejected'
     36OUTDATED = 'outdated'
    3637
    3738IMPORTABLE_STATES = (CREATED, SUBMITTED, VERIFIED, REJECTED)
     
    8788        source = SUBMITTED,
    8889        destination = CREATED),
     90
     91    Transition(
     92        transition_id = 'outdate',
     93        title = _('Set to outdated'),
     94        msg = _('Set to outdated'),
     95        source = VERIFIED,
     96        destination = OUTDATED),
    8997    )
    9098
Note: See TracChangeset for help on using the changeset viewer.