Commit 7aef87dc authored by Arnaud Fontaine's avatar Arnaud Fontaine

SQUASH

parent c50c76a4
......@@ -145,6 +145,7 @@ SEPARATELY_EXPORTED_PROPERTY_DICT = {
"PDF": ("pdf", 0, "data"),
"PyData Script": ("py", 0, "_body"),
"Python Script": ("py", 0, "_body"),
"Workflow Script": ("py", 0, "_body"),
"PythonScript": ("py", 0, "_body"),
"Spreadsheet": (None, 0, "data"),
"SQL": ("sql", 0, "src"),
......
......@@ -16,13 +16,13 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_action</string>
<string>action_type/object_jio_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</string> </value>
<value> <string>object_jio_action</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
......@@ -62,7 +62,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Convert workflows to ERP5 Workflows</string> </value>
<value> <string>Convert DCWorkflow to ERP5 Workflows</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -79,7 +79,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/BusinessTemplate_convertToERP5Workflows</string> </value>
<value> <string>string:${object_url}/BusinessTemplate_convertAllDCWorkflowToERP5Workflow</string> </value>
</item>
</dictionary>
</pickle>
......
workflow_tool = context.getPortalObject()
workflow_tool = context.getPortalObject().portal_workflow
unknown_workflow_id_list = []
for workflow_id in context.getTemplateWorkflowIdList():
try:
......
......@@ -644,7 +644,7 @@ def StateDefinition_getDestinationIdList(self):
return self.transitions
def StateDefinition_getDestinationValueList(self):
if self.transitions: # empty tuple by default
return [v for i, v in self.getWorkflow().transitions.iteritems()
return [v for i, v in self.getWorkflow().transitions.items()
if i in self.transitions]
return []
def StateDefinition_getStateTypeList(self):
......
......@@ -1257,6 +1257,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
user = uf.getUserById('ERP5TypeTestCase').__of__(uf)
self._callSetUpOnce()
self._reindexSite()
# Enable reindexing
# Do hot reindexing # Does not work
......
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