- Timestamp:
- 13 Dec 2014, 08:58:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/workflow.py
r12200 r12210 134 134 @grok.subscribe(IDocument, IWorkflowTransitionEvent) 135 135 def handle_document_transition_event(obj, event): 136 """Append message to document history and log file and update 137 last_transition_date when transition happened. 136 """Append message to document history and log file. 138 137 139 138 Undo the verification of document and raise an exception if document … … 151 150 history = IObjectHistory(obj) 152 151 history.addMessage(msg) 153 obj.last_transition_date = datetime.utcnow()154 152 try: 155 153 customers_container = grok.getSite()['customers']
Note: See TracChangeset for help on using the changeset viewer.