Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
b07a8646
Commit
b07a8646
authored
Dec 19, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit Tool: Update view, add similar category
parent
cf487874
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
439 additions
and
608 deletions
+439
-608
product/ERP5/bootstrap/erp5_business_package/ActionTemplateItem/portal_types/Commit%20Tool/create_snapshot.xml
...mplateItem/portal_types/Commit%20Tool/create_snapshot.xml
+85
-0
product/ERP5/bootstrap/erp5_business_package/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
...PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+8
-0
product/ERP5/bootstrap/erp5_business_package/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessItem_view.xml
.../portal_skins/erp5_business_package/BusinessItem_view.xml
+1
-1
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessItem_view/my_follow_up.xml
.../erp5_business_package/BusinessItem_view/my_follow_up.xml
+136
-0
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessItem_view/my_follow_up_title.xml
...business_package/BusinessItem_view/my_follow_up_title.xml
+0
-573
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessCommit_view.xml
...lateItem/portal_skins/erp5_commit/BusinessCommit_view.xml
+2
-1
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessCommit_view/my_predecessor_title.xml
.../erp5_commit/BusinessCommit_view/my_predecessor_title.xml
+1
-25
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessCommit_view/my_source_project_title.xml
...p5_commit/BusinessCommit_view/my_source_project_title.xml
+84
-0
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view.xml
...teItem/portal_skins/erp5_commit/BusinessSnapshot_view.xml
+2
-2
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view/my_similar_title.xml
...ns/erp5_commit/BusinessSnapshot_view/my_similar_title.xml
+7
-2
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view/my_translated_validation_state_title.xml
...essSnapshot_view/my_translated_validation_state_title.xml
+1
-1
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/CommitTool_createSnapshot.py
...tem/portal_skins/erp5_commit/CommitTool_createSnapshot.py
+15
-0
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/CommitTool_createSnapshot.xml
...em/portal_skins/erp5_commit/CommitTool_createSnapshot.xml
+62
-0
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/CommitTool_viewCommitList/listbox.xml
...l_skins/erp5_commit/CommitTool_viewCommitList/listbox.xml
+21
-0
product/ERP5/bootstrap/erp5_business_package/bt/template_action_path_list
...tstrap/erp5_business_package/bt/template_action_path_list
+1
-0
product/ERP5/bootstrap/erp5_business_package/bt/template_portal_type_base_category_list
...siness_package/bt/template_portal_type_base_category_list
+5
-1
product/ERP5/bootstrap/erp5_business_package/bt/template_portal_type_workflow_chain_list
...iness_package/bt/template_portal_type_workflow_chain_list
+2
-1
product/ERP5/bootstrap/erp5_business_package/bt/template_workflow_id_list
...tstrap/erp5_business_package/bt/template_workflow_id_list
+2
-1
No files found.
product/ERP5/bootstrap/erp5_business_package/ActionTemplateItem/portal_types/Commit%20Tool/create_snapshot.xml
0 → 100644
View file @
b07a8646
<?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_action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</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>
create_snapshot
</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>
Create Snapshot
</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}/CommitTool_createSnapshot
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_business_package/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
View file @
b07a8646
<base_category_list>
<portal_type
id=
"Business Commit"
>
<item>
predecessor
</item>
<item>
similar
</item>
<item>
source_project
</item>
</portal_type>
<portal_type
id=
"Business Item"
>
<item>
follow_up
</item>
</portal_type>
<portal_type
id=
"Business Manager"
>
<item>
follow_up
</item>
</portal_type>
<portal_type
id=
"Business Patch Item"
>
<item>
follow_up
</item>
</portal_type>
<portal_type
id=
"Business Property Item"
>
<item>
follow_up
</item>
</portal_type>
<portal_type
id=
"Business Snapshot"
>
<item>
similar
</item>
</portal_type>
</base_category_list>
\ No newline at end of file
product/ERP5/bootstrap/erp5_business_package/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
b07a8646
...
...
@@ -19,4 +19,8 @@
<type>
Business Property Item
</type>
<workflow>
business_manager_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Business Snapshot
</type>
<workflow>
business_snapshot_validation_workflow
</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessItem_view.xml
View file @
b07a8646
...
...
@@ -84,7 +84,7 @@
<value>
<list>
<string>
my_item_layer
</string>
<string>
my_follow_up
_title
</string>
<string>
my_follow_up
</string>
</list>
</value>
</item>
...
...
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessItem_view/my_follow_up.xml
0 → 100644
View file @
b07a8646
<?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>
catalog_index
</string>
<string>
description
</string>
<string>
first_item
</string>
<string>
portal_type
</string>
<string>
required
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_follow_up
</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>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
catalog_index
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
first_item
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
catalog_index
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Business Manager related to the Business Item
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_relation_field
</string>
</value>
</item>
<item>
<key>
<string>
first_item
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<list>
<tuple>
<string>
Business Manager
</string>
<string>
Business Manager
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Business Manager
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessItem_view/my_follow_up_title.xml
deleted
100644 → 0
View file @
cf487874
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"RelationStringField"
module=
"Products.ERP5Form.RelationField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_follow_up_title
</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>
<item>
<key>
<string>
line_too_long
</string>
</key>
<value>
<string>
A line was too long.
</string>
</value>
</item>
<item>
<key>
<string>
relation_result_ambiguous
</string>
</key>
<value>
<string>
Select appropriate document in the list.
</string>
</value>
</item>
<item>
<key>
<string>
relation_result_empty
</string>
</key>
<value>
<string>
No such document was found.
</string>
</value>
</item>
<item>
<key>
<string>
relation_result_too_long
</string>
</key>
<value>
<string>
Too many documents were found.
</string>
</value>
</item>
<item>
<key>
<string>
required_not_found
</string>
</key>
<value>
<string>
Input is required but no input given.
</string>
</value>
</item>
<item>
<key>
<string>
too_long
</string>
</key>
<value>
<string>
You entered too many characters.
</string>
</value>
</item>
<item>
<key>
<string>
too_many_lines
</string>
</key>
<value>
<string>
You entered too many lines.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
allow_creation
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
allow_jump
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
base_category
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
catalog_index
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
container_getter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
context_getter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra_item
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
first_item
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<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>
items
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
jump_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_linelength
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_lines
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
parameter_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
proxy_listbox_ids
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
relation_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
relation_setter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
allow_creation
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
allow_jump
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
base_category
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
catalog_index
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
container_getter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
context_getter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra_item
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
first_item
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<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>
items
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
jump_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_linelength
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_lines
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
parameter_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
proxy_listbox_ids
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
relation_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
relation_setter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
allow_creation
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
allow_jump
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
base_category
</string>
</key>
<value>
<string>
follow_up
</string>
</value>
</item>
<item>
<key>
<string>
catalog_index
</string>
</key>
<value>
<string>
follow_up
</string>
</value>
</item>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
container_getter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
context_getter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<int>
20
</int>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra_item
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
first_item
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<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>
items
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
jump_method
</string>
</key>
<value>
<string>
Base_jumpToRelatedDocument
</string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_linelength
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_lines
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
parameter_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<list>
<tuple>
<string>
Business Manager
</string>
<string>
Business Manager
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
proxy_listbox_ids
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
relation_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
relation_setter_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Business Template
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_method
</string>
</key>
<value>
<string>
Base_validateRelation
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessCommit_view.xml
View file @
b07a8646
...
...
@@ -83,7 +83,8 @@
<list>
<string>
my_title
</string>
<string>
my_id
</string>
<string>
my_predecessor
</string>
<string>
my_predecessor_title
</string>
<string>
my_source_project_title
</string>
</list>
</value>
</item>
...
...
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessCommit_view/my_predecessor.xml
→
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessCommit_view/my_predecessor
_title
.xml
View file @
b07a8646
...
...
@@ -11,7 +11,6 @@
<value>
<list>
<string>
catalog_index
</string>
<string>
default
</string>
<string>
first_item
</string>
<string>
portal_type
</string>
<string>
title
</string>
...
...
@@ -20,7 +19,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_predecessor
</string>
</value>
<value>
<string>
my_predecessor
_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -56,12 +55,6 @@
<key>
<string>
catalog_index
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
...
...
@@ -93,10 +86,6 @@
<key>
<string>
catalog_index
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_relation_field
</string>
</value>
...
...
@@ -130,17 +119,4 @@
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: context.BusinessCommit_getLastCommitTitle(here)
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessCommit_view/my_source_project_title.xml
0 → 100644
View file @
b07a8646
<?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>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_source_project_title
</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>
</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>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Source Project
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view.xml
View file @
b07a8646
...
...
@@ -83,7 +83,7 @@
<list>
<string>
my_title
</string>
<string>
my_id
</string>
<string>
my_
predecessor
</string>
<string>
my_
similar_title
</string>
</list>
</value>
</item>
...
...
@@ -93,7 +93,7 @@
<list>
<string>
my_creation_date
</string>
<string>
my_modification_date
</string>
<string>
my_translated_
simul
ation_state_title
</string>
<string>
my_translated_
valid
ation_state_title
</string>
</list>
</value>
</item>
...
...
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view/my_
predecessor
.xml
→
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view/my_
similar_title
.xml
View file @
b07a8646
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
catalog_index
</string>
<string>
description
</string>
<string>
first_item
</string>
<string>
portal_type
</string>
<string>
title
</string>
...
...
@@ -19,7 +20,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_
predecessor
</string>
</value>
<value>
<string>
my_
similar_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -70,6 +71,10 @@
<key>
<string>
catalog_index
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Commit on which this snapshot is based upon.
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_relation_field
</string>
</value>
...
...
@@ -95,7 +100,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Predecessor
</string>
</value>
<value>
<string>
Equivalent Commit
</string>
</value>
</item>
</dictionary>
</value>
...
...
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view/my_translated_
simul
ation_state_title.xml
→
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/BusinessSnapshot_view/my_translated_
valid
ation_state_title.xml
View file @
b07a8646
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_translated_
simul
ation_state_title
</string>
</value>
<value>
<string>
my_translated_
valid
ation_state_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/CommitTool_createSnapshot.py
0 → 100644
View file @
b07a8646
# Check if the conext is Commit Tool
if
context
.
getPortalType
()
!=
'Commit Tool'
:
return
'context is not commit tool'
# Check if the last created sub-object in Commit Tool is a commit and is not
# raise an Error
last_obj
=
max
(
context
.
objectValues
(),
key
=
(
lambda
x
:
x
.
getCreationDate
()))
if
last_obj
.
getPortalType
()
!=
'Business Commit'
:
return
'No commits added after last snapshot. Add a commit and try again'
# Create a new snapshot based on last commit
snapshot
=
last_obj
.
createEquivalentSnapshot
()
return
context
.
Base_redirect
(
'view'
)
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/CommitTool_createSnapshot.xml
0 → 100644
View file @
b07a8646
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
CommitTool_createSnapshot
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_commit/CommitTool_viewCommitList/listbox.xml
View file @
b07a8646
...
...
@@ -10,9 +10,11 @@
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
all_columns
</string>
<string>
anchor
</string>
<string>
columns
</string>
<string>
editable_columns
</string>
<string>
lines
</string>
<string>
list_method
</string>
<string>
search
</string>
<string>
search_columns
</string>
...
...
@@ -72,6 +74,21 @@
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
all_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
predecessor_title
</string>
<string>
Predecessor
</string>
</tuple>
<tuple>
<string>
similar_title
</string>
<string>
Similar
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
anchor
</string>
</key>
<value>
<int>
0
</int>
</value>
...
...
@@ -117,6 +134,10 @@
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
lines
</string>
</key>
<value>
<int>
50
</int>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
...
...
product/ERP5/bootstrap/erp5_business_package/bt/template_action_path_list
View file @
b07a8646
...
...
@@ -5,4 +5,5 @@ Business Patch Item | content_view
Business Patch Item | diff_view
Business Property Item | content_view
Business Snapshot | content_view
Commit Tool | create_snapshot
Commit Tool | view
\ No newline at end of file
product/ERP5/bootstrap/erp5_business_package/bt/template_portal_type_base_category_list
View file @
b07a8646
Business Commit | predecessor
Business Commit | similar
Business Commit | source_project
Business Item | follow_up
Business Manager | follow_up
Business Patch Item | follow_up
Business Property Item | follow_up
Business Snapshot | similar
\ No newline at end of file
product/ERP5/bootstrap/erp5_business_package/bt/template_portal_type_workflow_chain_list
View file @
b07a8646
...
...
@@ -4,3 +4,4 @@ Business Manager | business_manager_building_workflow
Business Manager | business_manager_installation_workflow
Business Patch Item | business_manager_interaction_workflow
Business Property Item | business_manager_interaction_workflow
Business Snapshot | business_snapshot_validation_workflow
\ No newline at end of file
product/ERP5/bootstrap/erp5_business_package/bt/template_workflow_id_list
View file @
b07a8646
...
...
@@ -2,3 +2,4 @@ business_commit_validation_workflow
business_manager_building_workflow
business_manager_installation_workflow
business_manager_interaction_workflow
business_snapshot_validation_workflow
\ No newline at end of file
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