diff -r 957fd4b276e2 -r 083593802120 entities/wfobjs.py --- a/entities/wfobjs.py Fri Aug 21 08:44:16 2009 +0200 +++ b/entities/wfobjs.py Fri Aug 21 08:44:51 2009 +0200 @@ -289,6 +289,13 @@ return self.req._(state.name) return u'' + @property + def workflow_history(self): + """return the workflow history for this entity (eg ordered list of + TrInfo entities) + """ + return self.reverse_wf_info_for + def latest_trinfo(self): """return the latest transition information for this entity""" return self.reverse_wf_info_for[-1]