Commit b6bc3340 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

ERP5/InteractionWorkflow.py: remove unnecesserary commment.

parent c067e991
...@@ -371,13 +371,8 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject): ...@@ -371,13 +371,8 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
if root is None: if root is None:
root = Element('erp5') root = Element('erp5')
return_as_object = False return_as_object = False
# Define a list of __dict__.keys to show to users:
# It seems even in DC interaction workflow, creation guard hasn't been configured;
# so it is not used? thus I didn't show creation guard as xml here. (zwj)
interaction_workflow_prop_id_to_show = {'title':'string', interaction_workflow_prop_id_to_show = {'title':'string',
'description':'text', 'manager_bypass':'int'} 'description':'text', 'manager_bypass':'int'}
# workflow as XML, need to rename DC workflow's portal_type before comparison.
interaction_workflow = SubElement(root, 'interaction_workflow', interaction_workflow = SubElement(root, 'interaction_workflow',
attrib=dict(reference=self.getReference(), attrib=dict(reference=self.getReference(),
portal_type='Interaction Workflow')) portal_type='Interaction Workflow'))
......
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