entities/wfobjs.py
changeset 3405 9d31c9cb8103
parent 3377 dd9d292b6a6d
child 3406 e343f37f7013
--- a/entities/wfobjs.py	Wed Sep 23 11:03:57 2009 +0200
+++ b/entities/wfobjs.py	Wed Sep 23 11:04:59 2009 +0200
@@ -502,7 +502,7 @@
         super(WorkflowableMixIn, self).clear_all_caches()
         clear_cache(self, 'cwetype_workflow')
 
-    @deprecated('get transition from current workflow and use its may_be_fired method')
+    @deprecated('[3.5] get transition from current workflow and use its may_be_fired method')
     def can_pass_transition(self, trname):
         """return the Transition instance if the current user can fire the
         transition with the given name, else None
@@ -512,7 +512,7 @@
             return tr
 
     @property
-    @deprecated('use printable_state')
+    @deprecated('[3.5] use printable_state')
     def displayable_state(self):
         return self.req._(self.state)