Commit 8e913d85 authored by iv's avatar iv

ERP5Workflow: fix portal type 'Workflow Variable' in Workflow_init script

parent 3a9e0ecd
...@@ -96,7 +96,7 @@ for v, property_dict in (\n ...@@ -96,7 +96,7 @@ for v, property_dict in (\n
\'for_catalog\': 1,\n \'for_catalog\': 1,\n
}),\n }),\n
):\n ):\n
variable = context.newContent(portal_type=\'Variable\')\n variable = context.newContent(portal_type=\'Workflow Variable\')\n
variable.setReference(v)\n variable.setReference(v)\n
variable.edit(**property_dict)\n variable.edit(**property_dict)\n
context.setStateVariable(\'simulation_state\')\n context.setStateVariable(\'simulation_state\')\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