Commit affd5337 authored by wenjie.zheng's avatar wenjie.zheng

ERP5/InteractionWorkflow.py: do not compare object title in showAsXML, because...

ERP5/InteractionWorkflow.py: do not compare object title in showAsXML, because in some DC workflow, transition, state or interaction do not have any title.
parent a72778db
......@@ -366,7 +366,7 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
if root is None:
root = Element('erp5')
return_as_object = False
interaction_workflow_prop_id_to_show = {'title':'string',
interaction_workflow_prop_id_to_show = {
'description':'text', 'manager_bypass':'int'}
interaction_workflow = SubElement(root, 'interaction_workflow',
attrib=dict(reference=self.getReference(),
......
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