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
Titouan Soulard
erp5
Commits
fafbc90a
Commit
fafbc90a
authored
Feb 10, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: add Workflow Script portal type.
parent
4f4449ae
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
409 additions
and
10 deletions
+409
-10
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Workflow%20Script/proxy_role_view.xml
...teItem/portal_types/Workflow%20Script/proxy_role_view.xml
+85
-0
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Workflow%20Script/repository_history_view.xml
...ortal_types/Workflow%20Script/repository_history_view.xml
+85
-0
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Workflow%20Script/view.xml
...ctionTemplateItem/portal_types/Workflow%20Script/view.xml
+85
-0
product/ERP5/bootstrap/erp5_core/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
...iddenContentTypeTemplateItem/hidden_content_type_list.xml
+11
-0
product/ERP5/bootstrap/erp5_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+6
-0
product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Workflow%20Script.xml
...PortalTypeTemplateItem/portal_types/Workflow%20Script.xml
+60
-0
product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/validation_workflow/states/draft.xml
...Item/portal_workflow/validation_workflow/states/draft.xml
+2
-8
product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
...uct/ERP5/bootstrap/erp5_core/bt/template_action_path_list
+36
-0
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_allowed_content_type_list
...p5_core/bt/template_portal_type_allowed_content_type_list
+25
-1
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_hidden_content_type_list
...rp5_core/bt/template_portal_type_hidden_content_type_list
+7
-0
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list
.../ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list
+1
-0
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_property_sheet_list
...rap/erp5_core/bt/template_portal_type_property_sheet_list
+3
-1
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_workflow_chain_list
...rap/erp5_core/bt/template_portal_type_workflow_chain_list
+3
-0
No files found.
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Workflow%20Script/proxy_role_view.xml
0 → 100644
View file @
fafbc90a
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
proxy_role_view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
2.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Proxy Roles
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/WorkflowScript_viewProxyRole
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Workflow%20Script/repository_history_view.xml
0 → 100644
View file @
fafbc90a
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
repository_history_view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
10.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Repository History
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/Base_viewRepositoryHistory
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Workflow%20Script/view.xml
0 → 100644
View file @
fafbc90a
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/WorkflowScript_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
0 → 100644
View file @
fafbc90a
<hidden_content_type_list>
<portal_type
id=
"Preference"
>
<item>
Accounting Transaction
</item>
<item>
Knowledge Pad
</item>
<item>
Payment Transaction
</item>
<item>
Purchase Invoice Transaction
</item>
<item>
Sale Invoice Transaction
</item>
<item>
Sale Order
</item>
<item>
Support Request
</item>
</portal_type>
</hidden_content_type_list>
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
fafbc90a
...
...
@@ -35,6 +35,9 @@
<portal_type
id=
"Extension Component"
>
<item>
SortIndex
</item>
</portal_type>
<portal_type
id=
"Preference"
>
<item>
TelephonePreference
</item>
</portal_type>
<portal_type
id=
"Property Existence Constraint"
>
<item>
ConstraintType
</item>
</portal_type>
...
...
@@ -62,4 +65,7 @@
<item>
SimpleItem
</item>
<item>
Task
</item>
</portal_type>
<portal_type
id=
"Workflow Script"
>
<item>
WorkflowScript
</item>
</portal_type>
</property_sheet_list>
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Workflow%20Script.xml
0 → 100644
View file @
fafbc90a
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Workflow Script
</string>
</value>
</item>
<item>
<key>
<string>
init_script
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
WorkflowScript
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/validation_workflow/states/draft.xml
View file @
fafbc90a
...
...
@@ -46,18 +46,12 @@
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<tuple>
<tuple>
<string>
Persistence
</string>
<string>
PersistentMapping
</string>
</tuple>
<none/>
</tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_container
</string>
</key>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
...
...
product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
View file @
fafbc90a
Acquired Property | view
Action Information | view
Active Process | view
Activity Tool | view
Activity Tool | watch_report
Alarm Tool | alarm_report
Alarm Tool | view
...
...
@@ -12,6 +14,7 @@ Alarm | solve
Alarm | standard_report
Alarm | view
Application Id Generator | view
Applied Rule | view
Attribute Blacklisted Constraint | predicate
Attribute Blacklisted Constraint | view
Attribute Equality Constraint | predicate
...
...
@@ -21,21 +24,34 @@ Attribute Unicity Constraint | view
Base Category | view
Base Domain | view
Base Type | action_view
Base Type | copy_roles
Base Type | role_view
Base Type | translation_view
Base Type | update_local_roles
Base Type | view
Business Template | clean_vcs_bt
Business Template | conflicted_files
Business Template | create_report
Business Template | create_working_copy
Business Template | export
Business Template | get_portal_type_properties
Business Template | git_commit
Business Template | guess_portal_types
Business Template | jump_trash_bin
Business Template | manage_field_library
Business Template | migrate_component_from_filesystem
Business Template | rename_proxy_field
Business Template | save
Business Template | svn_cleanup_locks
Business Template | svn_commit
Business Template | unittest_run
Business Template | update_vcs_bt
Business Template | update_vcs_bt_norevert
Business Template | view
Business Template | view_catalog
Business Template | view_detail
Business Template | view_portal_types
Business Template | view_svn_repos_info
Cache Bag | view
Cache Factory | statistics
Cache Factory | view
...
...
@@ -56,6 +72,7 @@ Category Related Membership State Constraint | predicate
Category Related Membership State Constraint | view
Category Tool | export_category_list
Category Tool | fast_input
Category Tool | generate_translation_file
Category Tool | view
Category | view
Component Tool | run_live_test
...
...
@@ -65,6 +82,7 @@ Content Existence Constraint | predicate
Content Existence Constraint | view
Contribution Predicate | view
Contribution Registry Tool | view
Delivery Tool | view
Distributed Ram Cache | view
Document Component | view
Document | view
...
...
@@ -77,6 +95,7 @@ Folder | view
Id Tool | view
Memcached Plugin | view
Memcached Tool | view
Order Tool | view
Predicate | view
Preference Tool Type | view
Preference Tool | advanced
...
...
@@ -86,9 +105,12 @@ Preference Type | role_view
Preference Type | translation_view
Preference Type | update_local_roles
Preference Type | view
Preference | base_preference
Preference | change_password
Preference | html_style_preferences
Preference | vcs
Preference | view
Preference | view_accounting
Preference | view_template
Property Existence Constraint | predicate
Property Existence Constraint | view
...
...
@@ -107,13 +129,22 @@ Rule Tool | view
SQL Non Continuous Increasing Id Generator | view
Script Constraint | predicate
Script Constraint | view
Simulation Movement | view
Simulation Tool | view
Standard Property | view
String Attribute Match Constraint | predicate
String Attribute Match Constraint | view
System Preference | accounting_preference
System Preference | captcha
System Preference | crm_preference
System Preference | dms_preference
System Preference | pdm_preference
System Preference | pricing_preference
System Preference | trade_preference
System Preference | view
TALES Constraint | predicate
TALES Constraint | view
Template Tool | bt_vcs_history
Template Tool | detailed_diff
Template Tool | diff
Template Tool | download
...
...
@@ -121,6 +152,7 @@ Template Tool | download_from_repository
Template Tool | import
Template Tool | install_from_repository
Template Tool | jump_trash_bins
Template Tool | search_portal_type
Template Tool | update
Template Tool | upgrade_from_repository
Template Tool | view
...
...
@@ -129,7 +161,11 @@ Trash Bin | jump_bt5
Trash Bin | view
Trash Folder | view
Trash Tool | view
Types Tool | role_information_list_view
Types Tool | view
Workflow Script | proxy_role_view
Workflow Script | repository_history_view
Workflow Script | view
ZODB Continuous Increasing Id Generator | view
portal_actions | bt_tool
portal_actions | category_tool
...
...
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_allowed_content_type_list
View file @
fafbc90a
...
...
@@ -18,6 +18,7 @@ Component Tool | Document Component
Component Tool | Extension Component
Component Tool | Test Component
Contribution Registry Tool | Contribution Predicate
Delivery Tool | Delivery Builder
Domain Tool | Base Domain
Domain | Domain
Domain | Domain Generator
...
...
@@ -26,13 +27,23 @@ Id Tool | Conceptual Id Generator
Id Tool | SQL Non Continuous Increasing Id Generator
Id Tool | ZODB Continuous Increasing Id Generator
Memcached Tool | Memcached Plugin
Order Tool | Order Builder
Preference Tool Type | Action Information
Preference Tool Type | Role Information
Preference Tool | Preference
Preference Tool | System Preference
Preference Type | Action Information
Preference Type | Role Information
Preference | Accounting Transaction
Preference | Knowledge Pad
Preference | Payment Transaction
Preference | Purchase Invoice Transaction
Preference | Sale Invoice Transaction
Preference | Sale Order
Preference | Support Request
Property Sheet Tool | Property Sheet
Property Sheet | Account Type Constraint
Property Sheet | Accounting Transaction Balance Constraint
Property Sheet | Acquired Property
Property Sheet | Attribute Blacklisted Constraint
Property Sheet | Attribute Equality Constraint
...
...
@@ -48,12 +59,25 @@ Property Sheet | Content Existence Constraint
Property Sheet | Dynamic Category Property
Property Sheet | Property Existence Constraint
Property Sheet | Property Type Validity Constraint
Property Sheet | Resource Measures Consistency Constraint
Property Sheet | Script Constraint
Property Sheet | Standard Property
Property Sheet | String Attribute Match Constraint
Property Sheet | TALES Constraint
Property Sheet | Trade Model Line Cell Consistency Constraint
Rule Tool | Accounting Transaction Root Simulation Rule
Rule Tool | Delivery Root Simulation Rule
Rule Tool | Delivery Simulation Rule
Rule Tool | Invoice Root Simulation Rule
Rule Tool | Invoice Simulation Rule
Rule Tool | Invoice Transaction Simulation Rule
Rule Tool | Order Root Simulation Rule
Rule Tool | Payment Simulation Rule
Rule Tool | Trade Model Simulation Rule
Simulation Movement | Applied Rule
Simulation Tool | Applied Rule
System Preference | Knowledge Pad
Template Tool | Business Template
Trash Tool | Trash Bin
Types Tool | Base Type
\ No newline at end of file
Types Tool | Base Type
Types Tool | Gadget Type
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_hidden_content_type_list
0 → 100644
View file @
fafbc90a
Preference | Accounting Transaction
Preference | Knowledge Pad
Preference | Payment Transaction
Preference | Purchase Invoice Transaction
Preference | Sale Invoice Transaction
Preference | Sale Order
Preference | Support Request
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list
View file @
fafbc90a
...
...
@@ -81,4 +81,5 @@ Trash Bin
Trash Folder
Trash Tool
Types Tool
Workflow Script
ZODB Continuous Increasing Id Generator
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_property_sheet_list
View file @
fafbc90a
...
...
@@ -10,6 +10,7 @@ Category Related Membership State Constraint | ConstraintType
Content Existence Constraint | ConstraintType
Document Component | SortIndex
Extension Component | SortIndex
Preference | TelephonePreference
Property Existence Constraint | ConstraintType
Property Type Validity Constraint | ConstraintType
Script Constraint | ConstraintType
...
...
@@ -23,4 +24,5 @@ TALES Constraint | ConstraintType
Test Component | SortIndex
Trash Bin | Base
Trash Bin | SimpleItem
Trash Bin | Task
\ No newline at end of file
Trash Bin | Task
Workflow Script | WorkflowScript
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/bt/template_portal_type_workflow_chain_list
View file @
fafbc90a
...
...
@@ -4,6 +4,7 @@ Alarm | edit_workflow
Attribute Blacklisted Constraint | dynamic_class_generation_interaction_workflow
Attribute Equality Constraint | dynamic_class_generation_interaction_workflow
Attribute Unicity Constraint | dynamic_class_generation_interaction_workflow
Base Category | category_publication_workflow
Base Category | dynamic_class_generation_interaction_workflow
Base Category | edit_workflow
Base Type | base_type_interaction_workflow
...
...
@@ -18,6 +19,7 @@ Category Property | dynamic_class_generation_interaction_workflow
Category Related Membership Arity Constraint | dynamic_class_generation_interaction_workflow
Category Related Membership State Constraint | dynamic_class_generation_interaction_workflow
Category Tool | dynamic_class_generation_interaction_workflow
Category | category_publication_workflow
Category | edit_workflow
Content Existence Constraint | dynamic_class_generation_interaction_workflow
Distributed Ram Cache | distributed_ram_cache_interaction_workflow
...
...
@@ -38,6 +40,7 @@ Property Existence Constraint | dynamic_class_generation_interaction_workflow
Property Sheet Tool | dynamic_class_generation_interaction_workflow
Property Sheet | dynamic_class_generation_interaction_workflow
Property Type Validity Constraint | dynamic_class_generation_interaction_workflow
Simulation Movement | simulation_movement_causality_interaction_workflow
Standard Property | dynamic_class_generation_interaction_workflow
String Attribute Match Constraint | dynamic_class_generation_interaction_workflow
System Preference | edit_workflow
...
...
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