state_of/transition_of could now be inlined
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Sep 2009 13:42:48 +0200
changeset 3433 401ea5e03e9d
parent 3432 12fe502e5044
child 3434 6d0f22f5d31f
state_of/transition_of could now be inlined
schemas/workflow.py
--- a/schemas/workflow.py	Wed Sep 23 13:42:33 2009 +0200
+++ b/schemas/workflow.py	Wed Sep 23 13:42:48 2009 +0200
@@ -164,10 +164,12 @@
 class state_of(RelationType):
     """link a state to one or more workflow"""
     permissions = META_RTYPE_PERMS
+    inlined = True
 
 class transition_of(RelationType):
     """link a transition to one or more workflow"""
     permissions = META_RTYPE_PERMS
+    inlined = True
 
 class subworkflow(RelationType):
     """link a transition to one or more workflow"""