Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5
Commits
09626b42
Commit
09626b42
authored
Jul 31, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_workflow: move workflow initializing code here.
parent
b086e3fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Workflow_init.xml
...TemplateItem/portal_skins/erp5_workflow/Workflow_init.xml
+0
-2
No files found.
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Workflow_init.xml
View file @
09626b42
...
...
@@ -57,7 +57,6 @@ for state_id, state_title in ((\'draft\', \'Draft\'),):\n
state.setReference(state_id)\n
state.setTitle(state_title)\n
context.setSourceValue(state)\n
\n
for v, property_dict in (\n
(\'action\', {\n
\'description\': \'Transition id\',\n
...
...
@@ -100,7 +99,6 @@ for v, property_dict in (\n
variable = context.newContent(portal_type=\'Variable\')\n
variable.setReference(v)\n
variable.edit(**property_dict)\n
\n
context.setStateVariable(\'simulation_state\')\n
</string>
</value>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment