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

erp5_forge: ERP5Site_getToBeTranslatedMessageListFromEntireSystemAsPot compatibility modification.

parent 3c3159ef
......@@ -92,7 +92,9 @@ iterate(context.portal_skins)\n
\n
# Collect python script from workflow objects.\n
for workflow in context.portal_workflow.objectValues():\n
for i in workflow.scripts.objectValues():\n
script_value_dict = workflow.getScriptValueList()\n
for i_id in script_value_dict:\n
i = script_value_dict[i_id]\n
if i.meta_type==\'Script (Python)\':\n
python_script_list.append(i)\n
\n
......
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