Ignore:
Timestamp:
9 Jun 2011, 16:57:32 (13 years ago)
Author:
Henrik Bettermann
Message:

Add message attribute to log workflow transitions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicants.py

    r6301 r6304  
    2222import grok
    2323from grok import index
     24from datetime import datetime
    2425from zope.component.interfaces import IFactory
    2526from zope.interface import implementedBy
     
    4950        #Initialize workflow state...
    5051        IWorkflowInfo(self).fireTransition('init')
     52        timestamp = datetime.now().strftime("%d/%m/%Y %H:%M")
     53        self.messages = u'%s - Initialize application' % timestamp
    5154
    5255# Set all attributes of Applicant required in IApplicant as field
Note: See TracChangeset for help on using the changeset viewer.