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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
a3624ea3
Commit
a3624ea3
authored
Mar 20, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_workflow_test_data: add workflow variables to testing_workflow.
parent
b5e8f8c4
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
372 additions
and
4 deletions
+372
-4
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/action.xml
...hTemplateItem/workflow_module/testing_workflow/action.xml
+60
-0
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/actor.xml
...thTemplateItem/workflow_module/testing_workflow/actor.xml
+48
-0
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/comment.xml
...TemplateItem/workflow_module/testing_workflow/comment.xml
+48
-0
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/draft.xml
...thTemplateItem/workflow_module/testing_workflow/draft.xml
+0
-3
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/error_message.xml
...teItem/workflow_module/testing_workflow/error_message.xml
+44
-0
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/fail_action.xml
...lateItem/workflow_module/testing_workflow/fail_action.xml
+28
-1
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/history.xml
...TemplateItem/workflow_module/testing_workflow/history.xml
+48
-0
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/p_type.xml
...hTemplateItem/workflow_module/testing_workflow/p_type.xml
+48
-0
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/time.xml
...athTemplateItem/workflow_module/testing_workflow/time.xml
+48
-0
No files found.
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/action.xml
0 → 100644
View file @
a3624ea3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
automatic_update
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
default_expr
</string>
</key>
<value>
<string>
transition/getId|nothing
</string>
</value>
</item>
<item>
<key>
<string>
default_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
for_status
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
action
</string>
</value>
</item>
<item>
<key>
<string>
initial_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
role
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Action
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/actor.xml
0 → 100644
View file @
a3624ea3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_expr
</string>
</key>
<value>
<string>
user/getUserName
</string>
</value>
</item>
<item>
<key>
<string>
default_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
actor
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
role
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Actor
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/comment.xml
0 → 100644
View file @
a3624ea3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_expr
</string>
</key>
<value>
<string>
python:state_change.kwargs.get(\'comment\',\'\')
</string>
</value>
</item>
<item>
<key>
<string>
default_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
comment
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
role
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Comment
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/draft.xml
View file @
a3624ea3
...
@@ -28,11 +28,8 @@
...
@@ -28,11 +28,8 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
destination/workflow_module/testing_workflow/delete
</string>
<string>
destination/workflow_module/testing_workflow/delete_action
</string>
<string>
destination/workflow_module/testing_workflow/validate
</string>
<string>
destination/workflow_module/testing_workflow/validate
</string>
<string>
destination/workflow_module/testing_workflow/validate_action
</string>
<string>
destination/workflow_module/testing_workflow/validate_action
</string>
<string>
destination/workflow_module/testing_workflow/fail_action
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/error_message.xml
0 → 100644
View file @
a3624ea3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
error_message
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
role
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
ErrorMessage
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/fail_action.xml
View file @
a3624ea3
...
@@ -18,7 +18,9 @@
...
@@ -18,7 +18,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string>
%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=fail_action
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
after_script_id
</string>
</key>
<key>
<string>
after_script_id
</string>
</key>
...
@@ -38,6 +40,12 @@
...
@@ -38,6 +40,12 @@
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string>
Fail action does nothing but put an error message into workflow history
</string>
</value>
<value>
<string>
Fail action does nothing but put an error message into workflow history
</string>
</value>
</item>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
<value>
<string>
python: True
</string>
</value>
...
@@ -71,4 +79,23 @@
...
@@ -71,4 +79,23 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
roles
</string>
</key>
<value>
<list>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/history.xml
0 → 100644
View file @
a3624ea3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_expr
</string>
</key>
<value>
<string>
state_change/getHistory
</string>
</value>
</item>
<item>
<key>
<string>
default_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
history
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
role
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
History
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/p_type.xml
0 → 100644
View file @
a3624ea3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
for_status
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
p_type
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
role
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
P Type
</string>
</value>
</item>
<item>
<key>
<string>
update_always
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow_test_data/PathTemplateItem/workflow_module/testing_workflow/time.xml
0 → 100644
View file @
a3624ea3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variable"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_expr
</string>
</key>
<value>
<string>
state_change/getDateTime
</string>
</value>
</item>
<item>
<key>
<string>
default_value
</string>
</key>
<value>
<string>
python: None
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
for_catalog
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
time
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
role
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Time
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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