Commit 4a7ebf6b authored by Yusei Tahara's avatar Yusei Tahara

2008-10-24 yusei

* Fixed Folder_generateWorkflowReport. This did not work if there is interaction workflow.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24317 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 683627b3
...@@ -90,7 +90,7 @@ def getStateTranslatedTitle(state, portal_type, saved_state_dict=dict()):\n ...@@ -90,7 +90,7 @@ def getStateTranslatedTitle(state, portal_type, saved_state_dict=dict()):\n
# XXX requires manager proxy role\n # XXX requires manager proxy role\n
workflow_for_ptype = portal_workflow.getWorkflowsFor(portal_type)\n workflow_for_ptype = portal_workflow.getWorkflowsFor(portal_type)\n
for workflow in workflow_for_ptype:\n for workflow in workflow_for_ptype:\n
if hasattr(workflow, \'states\') and state in workflow.states.objectIds():\n if getattr(workflow, \'states\', None) is not None and state in workflow.states.objectIds():\n
saved_state_dict[state] = translateString(getattr(workflow.states, state).title_or_id())\n saved_state_dict[state] = translateString(getattr(workflow.states, state).title_or_id())\n
return saved_state_dict[state]\n return saved_state_dict[state]\n
\n \n
......
2008-10-24 yusei
* Fixed Folder_generateWorkflowReport. This did not work if there is interaction workflow.
2008-10-22 Romain 2008-10-22 Romain
* portal_transforms subobject should exported with the path parameter of the business template * portal_transforms subobject should exported with the path parameter of the business template
* Add png_to_text transformation * Add png_to_text transformation
......
1003 1004
\ No newline at end of file \ No newline at end of file
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