Commit 492f15a3 authored by iv's avatar iv

ERP5Workflow: associate property sheets Guard to classes:

- Worklist
- Transition
- Interaction
- ConfigurationTransition
parent 39ac8423
...@@ -54,6 +54,7 @@ class ConfigurationTransition(XMLObject): ...@@ -54,6 +54,7 @@ class ConfigurationTransition(XMLObject):
PropertySheet.CategoryCore, PropertySheet.CategoryCore,
PropertySheet.DublinCore, PropertySheet.DublinCore,
PropertySheet.Transition, PropertySheet.Transition,
PropertySheet.Guard,
) )
def execute(self, document, form_kw=None): def execute(self, document, form_kw=None):
......
...@@ -85,6 +85,7 @@ class Interaction(IdAsReferenceMixin('interaction_', "prefix"), XMLObject): ...@@ -85,6 +85,7 @@ class Interaction(IdAsReferenceMixin('interaction_', "prefix"), XMLObject):
PropertySheet.DublinCore, PropertySheet.DublinCore,
PropertySheet.Reference, PropertySheet.Reference,
PropertySheet.Interaction, PropertySheet.Interaction,
PropertySheet.Guard,
) )
def getGuardSummary(self): def getGuardSummary(self):
......
...@@ -79,6 +79,7 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject): ...@@ -79,6 +79,7 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject):
PropertySheet.DublinCore, PropertySheet.DublinCore,
PropertySheet.Reference, PropertySheet.Reference,
PropertySheet.Transition, PropertySheet.Transition,
PropertySheet.Guard,
) )
def getGuardSummary(self): def getGuardSummary(self):
......
...@@ -75,6 +75,7 @@ class Worklist(IdAsReferenceMixin("worklist_", "prefix"), XMLObject): ...@@ -75,6 +75,7 @@ class Worklist(IdAsReferenceMixin("worklist_", "prefix"), XMLObject):
PropertySheet.DublinCore, PropertySheet.DublinCore,
PropertySheet.Reference, PropertySheet.Reference,
PropertySheet.Worklist, PropertySheet.Worklist,
PropertySheet.Guard,
) )
def getGuardSummary(self): def getGuardSummary(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment