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
Hardik Juneja
erp5
Commits
652b0787
Commit
652b0787
authored
Jun 09, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_workflow: add view elements to allow workflow script to generate id from reference.
parent
b8ac76b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
109 additions
and
14 deletions
+109
-14
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowScript_view.xml
...teItem/portal_skins/erp5_workflow/WorkflowScript_view.xml
+1
-0
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowScript_view/my_id.xml
.../portal_skins/erp5_workflow/WorkflowScript_view/my_id.xml
+16
-14
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowScript_view/my_reference.xml
..._skins/erp5_workflow/WorkflowScript_view/my_reference.xml
+84
-0
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Workflow_viewWorkflowScriptList/WorkflowScripts.xml
...kflow/Workflow_viewWorkflowScriptList/WorkflowScripts.xml
+8
-0
No files found.
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowScript_view.xml
View file @
652b0787
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
<value>
<value>
<list>
<list>
<string>
my_id
</string>
<string>
my_id
</string>
<string>
my_reference
</string>
<string>
my_title
</string>
<string>
my_title
</string>
<string>
my_callable_type
</string>
<string>
my_callable_type
</string>
<string>
my_parameter_signature
</string>
<string>
my_parameter_signature
</string>
...
...
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowScript_view/my_id.xml
View file @
652b0787
...
@@ -35,15 +35,15 @@
...
@@ -35,15 +35,15 @@
<value>
<value>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
extra_context
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
f
orm
_id
</string>
</key>
<key>
<string>
f
ield
_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -54,15 +54,15 @@
...
@@ -54,15 +54,15 @@
<value>
<value>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
extra_context
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
f
orm
_id
</string>
</key>
<key>
<string>
f
ield
_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -74,23 +74,25 @@
...
@@ -74,23 +74,25 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
editable
</string>
</key>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
extra_context
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
<value>
<list/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
f
orm
_id
</string>
</key>
<key>
<string>
f
ield
_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
my_title
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
BaseWorkflow_FieldLibrary
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Reference
</string>
</value>
<value>
<string>
ID
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</value>
</value>
...
...
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowScript_view/my_reference.xml
0 → 100644
View file @
652b0787
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_reference
</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>
field_id
</string>
</key>
<value>
<string>
my_view_mode_reference_as_name
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Workflow_viewWorkflowScriptList/WorkflowScripts.xml
View file @
652b0787
...
@@ -109,6 +109,10 @@
...
@@ -109,6 +109,10 @@
<list>
<list>
<tuple>
<tuple>
<string>
id
</string>
<string>
id
</string>
<string>
ID
</string>
</tuple>
<tuple>
<string>
reference
</string>
<string>
Reference
</string>
<string>
Reference
</string>
</tuple>
</tuple>
<tuple>
<tuple>
...
@@ -186,6 +190,10 @@
...
@@ -186,6 +190,10 @@
<string>
id
</string>
<string>
id
</string>
<string>
WorkflowScript_getListBoxURL
</string>
<string>
WorkflowScript_getListBoxURL
</string>
</tuple>
</tuple>
<tuple>
<string>
reference
</string>
<string>
WorkflowScript_getListBoxURL
</string>
</tuple>
<tuple>
<tuple>
<string>
title
</string>
<string>
title
</string>
<string>
WorkflowScript_getListBoxURL
</string>
<string>
WorkflowScript_getListBoxURL
</string>
...
...
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