schemas/workflow.py
branch3.5
changeset 2950 643570a7770f
parent 2943 77622caef9bd
child 2977 6dd4f4a3ff2a
--- a/schemas/workflow.py	Fri Aug 21 08:45:55 2009 +0200
+++ b/schemas/workflow.py	Fri Aug 21 09:02:35 2009 +0200
@@ -133,7 +133,7 @@
     to_state = SubjectRelation('State', cardinality='1*')
     # make by_transition optional because we want to allow managers to set
     # entity into an arbitrary state without having to respect wf transition
-    by_transition = SubjectRelation('Transition', cardinality='?*')
+    by_transition = SubjectRelation('BaseTransition', cardinality='?*')
     comment = RichString(fulltextindexed=True)
     # get actor and date time using owned_by and creation_date