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
Kasra Jamshidi
erp5
Commits
8ec57a9e
Commit
8ec57a9e
authored
Jul 23, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_workflow: configuration workflow type and view repairs.
parent
b75b930e
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
539 additions
and
14 deletions
+539
-14
bt5/erp5_workflow/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+4
-0
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Configuration%20State.xml
...alTypeTemplateItem/portal_types/Configuration%20State.xml
+1
-3
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Configuration%20Transition.xml
...eTemplateItem/portal_types/Configuration%20Transition.xml
+5
-3
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/PermissionRoles.xml
...w/PortalTypeTemplateItem/portal_types/PermissionRoles.xml
+12
-0
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/State.xml
...p5_workflow/PortalTypeTemplateItem/portal_types/State.xml
+12
-0
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Transition%20Variable.xml
...alTypeTemplateItem/portal_types/Transition%20Variable.xml
+12
-0
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Variable.xml
...workflow/PortalTypeTemplateItem/portal_types/Variable.xml
+12
-0
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Workflow%20Script.xml
...PortalTypeTemplateItem/portal_types/Workflow%20Script.xml
+12
-0
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Workflow.xml
...workflow/PortalTypeTemplateItem/portal_types/Workflow.xml
+12
-0
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Worklist.xml
...workflow/PortalTypeTemplateItem/portal_types/Worklist.xml
+12
-0
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view.xml
...rtal_skins/erp5_workflow/ConfigurationTransition_view.xml
+5
-2
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view/listbox.xml
...ns/erp5_workflow/ConfigurationTransition_view/listbox.xml
+133
-0
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view/my_guard_expression.xml
...flow/ConfigurationTransition_view/my_guard_expression.xml
+287
-0
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view/my_transition_form_id.xml
...ow/ConfigurationTransition_view/my_transition_form_id.xml
+15
-3
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationWorkflow_viewVariableList.xml
.../erp5_workflow/ConfigurationWorkflow_viewVariableList.xml
+1
-1
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationWorkflow_viewVariableList/my_state_base_category.xml
...ationWorkflow_viewVariableList/my_state_base_category.xml
+2
-2
bt5/erp5_workflow/bt/template_portal_type_allowed_content_type_list
...orkflow/bt/template_portal_type_allowed_content_type_list
+2
-0
No files found.
bt5/erp5_workflow/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
8ec57a9e
<allowed_content_type_list>
<portal_type
id=
"Configuration Transition"
>
<item>
Transition Variable
</item>
</portal_type>
<portal_type
id=
"Configuration Workflow"
>
<item>
Configuration State
</item>
<item>
Configuration Transition
</item>
<item>
Variable
</item>
<item>
Worklist
</item>
</portal_type>
<portal_type
id=
"Interaction"
>
<item>
Transition Variable
</item>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Configuration%20State.xml
View file @
8ec57a9e
...
...
@@ -8,9 +8,7 @@
<dictionary>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
<value>
<string>
document.gif
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Configuration%20Transition.xml
View file @
8ec57a9e
...
...
@@ -6,11 +6,13 @@
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
acquire_local_roles
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
<value>
<string>
document.gif
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/PermissionRoles.xml
View file @
8ec57a9e
...
...
@@ -14,6 +14,12 @@
<key>
<string>
description
</string>
</key>
<value>
<string>
An ERP5 permission roles bonder.
</string>
</value>
</item>
<item>
<key>
<string>
erp5workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
PermissionRoles
</string>
</value>
...
...
@@ -50,6 +56,12 @@
<tuple/>
</value>
</item>
<item>
<key>
<string>
workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/State.xml
View file @
8ec57a9e
...
...
@@ -39,6 +39,12 @@
A ERP5 State.\n
</string>
</value>
</item>
<item>
<key>
<string>
erp5workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addState
</string>
</value>
...
...
@@ -79,6 +85,12 @@
<tuple/>
</value>
</item>
<item>
<key>
<string>
workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Transition%20Variable.xml
View file @
8ec57a9e
...
...
@@ -42,6 +42,12 @@
<value>
<string>
A ERP5 Transition Variable.\n
</string>
</value>
</item>
<item>
<key>
<string>
erp5workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addVariable
</string>
</value>
...
...
@@ -72,6 +78,12 @@
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Variable.xml
View file @
8ec57a9e
...
...
@@ -39,6 +39,12 @@
A ERP5 Variable.\n
</string>
</value>
</item>
<item>
<key>
<string>
erp5workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addVariable
</string>
</value>
...
...
@@ -55,6 +61,12 @@
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Variable
</string>
</value>
</item>
<item>
<key>
<string>
workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Workflow%20Script.xml
View file @
8ec57a9e
...
...
@@ -18,6 +18,12 @@
<none/>
</value>
</item>
<item>
<key>
<string>
erp5workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Workflow Script
</string>
</value>
...
...
@@ -54,6 +60,12 @@
<tuple/>
</value>
</item>
<item>
<key>
<string>
workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Workflow.xml
View file @
8ec57a9e
...
...
@@ -41,6 +41,12 @@
<key>
<string>
description
</string>
</key>
<value>
<string>
An ERP5 Workflow.
</string>
</value>
</item>
<item>
<key>
<string>
erp5workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addWorkflow
</string>
</value>
...
...
@@ -91,6 +97,12 @@
<tuple/>
</value>
</item>
<item>
<key>
<string>
workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_workflow/PortalTypeTemplateItem/portal_types/Worklist.xml
View file @
8ec57a9e
...
...
@@ -20,6 +20,12 @@
A ERP5 Worklist.\n
</string>
</value>
</item>
<item>
<key>
<string>
erp5workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addWorklist
</string>
</value>
...
...
@@ -36,6 +42,12 @@
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Worklist
</string>
</value>
</item>
<item>
<key>
<string>
workflow_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view.xml
View file @
8ec57a9e
...
...
@@ -64,7 +64,9 @@
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list/>
<list>
<string>
listbox
</string>
</list>
</value>
</item>
<item>
...
...
@@ -85,9 +87,9 @@
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
my_id
</string>
<string>
my_title
</string>
<string>
my_destination_title
</string>
<string>
my_guard_expression
</string>
</list>
</value>
</item>
...
...
@@ -95,6 +97,7 @@
<key>
<string>
right
</string>
</key>
<value>
<list>
<string>
my_transition_form_id
</string>
<string>
my_before_script_id
</string>
<string>
my_after_script_id
</string>
</list>
...
...
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view/listbox.xml
0 → 100644
View file @
8ec57a9e
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
columns
</string>
<string>
portal_types
</string>
<string>
selection_name
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
id
</string>
<string>
ID
</string>
</tuple>
<tuple>
<string>
causality_title
</string>
<string>
Causality
</string>
</tuple>
<tuple>
<string>
Variable_getNonEvaluatedInitialValue
</string>
<string>
Value
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_view_mode_listbox
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<list>
<tuple>
<string>
Transition Variable
</string>
<string>
Transition Variable
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
transition_variable_selection
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Transition Variables
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view/my_guard_expression.xml
0 → 100644
View file @
8ec57a9e
This diff is collapsed.
Click to expand it.
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view/my_id.xml
→
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationTransition_view/my_
transition_form_
id.xml
View file @
8ec57a9e
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_id
</string>
</value>
<value>
<string>
my_
transition_form_
id
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -77,6 +77,10 @@
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
...
...
@@ -152,6 +156,10 @@
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
...
...
@@ -205,7 +213,7 @@
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<int>
2
0
</int>
</value>
<value>
<int>
4
0
</int>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
...
...
@@ -227,6 +235,10 @@
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string>
text
</string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
...
...
@@ -237,7 +249,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
ID
</string>
</value>
<value>
<string>
Form
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationWorkflow_viewVariableList.xml
View file @
8ec57a9e
...
...
@@ -86,7 +86,7 @@
<value>
<list>
<string>
my_title
</string>
<string>
my_state_
variable_name
</string>
<string>
my_state_
base_category
</string>
</list>
</value>
</item>
...
...
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationWorkflow_viewVariableList/my_state_
variable_name
.xml
→
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/ConfigurationWorkflow_viewVariableList/my_state_
base_category
.xml
View file @
8ec57a9e
...
...
@@ -17,7 +17,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_state_
variable_name
</string>
</value>
<value>
<string>
my_state_
base_category
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -118,7 +118,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: [(x.getId(), x.getId()) for x in here.getPortalObject().portal_categories.objectValues()]
</string>
</value>
<value>
<string>
python: [(x.get
TitleOr
Id(), x.getId()) for x in here.getPortalObject().portal_categories.objectValues()]
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_workflow/bt/template_portal_type_allowed_content_type_list
View file @
8ec57a9e
Configuration Transition | Transition Variable
Configuration Workflow | Configuration State
Configuration Workflow | Configuration Transition
Configuration Workflow | Variable
Configuration Workflow | Worklist
Interaction Workflow | Interaction
Interaction Workflow | Variable
Interaction Workflow | Workflow Script
...
...
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