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
1
Issues
1
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
Roque
erp5
Commits
5a4dc706
Commit
5a4dc706
authored
Dec 24, 2014
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_base: Apply erp5_validation_workflow to Person type.
parent
a819f3ce
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
40 additions
and
91 deletions
+40
-91
bt5/erp5_base/ModuleTemplateItem/person_module.xml
bt5/erp5_base/ModuleTemplateItem/person_module.xml
+3
-0
bt5/erp5_base/PathTemplateItem/workflow_module/erp5_validation_workflow.xml
...TemplateItem/workflow_module/erp5_validation_workflow.xml
+6
-4
bt5/erp5_base/PathTemplateItem/workflow_module/erp5_validation_workflow/draft.xml
...teItem/workflow_module/erp5_validation_workflow/draft.xml
+4
-3
bt5/erp5_base/PathTemplateItem/workflow_module/erp5_validation_workflow/invalidate.xml
...m/workflow_module/erp5_validation_workflow/invalidate.xml
+1
-1
bt5/erp5_base/PathTemplateItem/workflow_module/erp5_validation_workflow/invalidated.xml
.../workflow_module/erp5_validation_workflow/invalidated.xml
+1
-2
bt5/erp5_base/PathTemplateItem/workflow_module/erp5_validation_workflow/validate.xml
...tem/workflow_module/erp5_validation_workflow/validate.xml
+1
-1
bt5/erp5_base/PathTemplateItem/workflow_module/erp5_validation_workflow/validated.xml
...em/workflow_module/erp5_validation_workflow/validated.xml
+1
-1
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/delete.xml
...mplateItem/workflow_module/validation_workflow/delete.xml
+0
-42
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/deleted.xml
...plateItem/workflow_module/validation_workflow/deleted.xml
+0
-30
bt5/erp5_base/PortalTypeTemplateItem/portal_types/Person%20Module.xml
...e/PortalTypeTemplateItem/portal_types/Person%20Module.xml
+18
-2
bt5/erp5_base/PortalTypeTemplateItem/portal_types/Person.xml
bt5/erp5_base/PortalTypeTemplateItem/portal_types/Person.xml
+1
-1
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/PersonModule_viewPersonList/listbox.xml
...l_skins/erp5_base/PersonModule_viewPersonList/listbox.xml
+2
-2
bt5/erp5_base/bt/template_path_list
bt5/erp5_base/bt/template_path_list
+2
-2
No files found.
bt5/erp5_base/ModuleTemplateItem/person_module.xml
View file @
5a4dc706
<module>
<module>
<category_list>
<category>
business_application/base
</category>
</category_list>
<id>
person_module
</id>
<id>
person_module
</id>
<permission_list>
<permission_list>
<permission
type=
'tuple'
>
<permission
type=
'tuple'
>
...
...
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow.xml
→
bt5/erp5_base/PathTemplateItem/workflow_module/
erp5_
validation_workflow.xml
View file @
5a4dc706
...
@@ -28,17 +28,19 @@
...
@@ -28,17 +28,19 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
source/workflow_module/validation_workflow/draft
</string>
<string>
source/workflow_module/
erp5_
validation_workflow/draft
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string>
This workflow aims at replacing validation_workflow in DCWorkflow.
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
validation_workflow
</string>
</value>
<value>
<string>
erp5_
validation_workflow
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
...
@@ -50,7 +52,7 @@
...
@@ -50,7 +52,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Validation Workflow
</string>
</value>
<value>
<string>
ERP5
Validation Workflow
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/draft.xml
→
bt5/erp5_base/PathTemplateItem/workflow_module/
erp5_
validation_workflow/draft.xml
View file @
5a4dc706
...
@@ -10,14 +10,15 @@
...
@@ -10,14 +10,15 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
destination/workflow_module/validation_workflow/delete
</string>
<string>
destination/workflow_module/erp5_validation_workflow/validate
</string>
<string>
destination/workflow_module/validation_workflow/validate
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string>
Initial state
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/invalidate.xml
→
bt5/erp5_base/PathTemplateItem/workflow_module/
erp5_
validation_workflow/invalidate.xml
View file @
5a4dc706
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
destination/workflow_module/validation_workflow/invalidated
</string>
<string>
destination/workflow_module/
erp5_
validation_workflow/invalidated
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/invalidated.xml
→
bt5/erp5_base/PathTemplateItem/workflow_module/
erp5_
validation_workflow/invalidated.xml
View file @
5a4dc706
...
@@ -10,8 +10,7 @@
...
@@ -10,8 +10,7 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
destination/workflow_module/validation_workflow/delete
</string>
<string>
destination/workflow_module/erp5_validation_workflow/validate
</string>
<string>
destination/workflow_module/validation_workflow/invalidate
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/validate.xml
→
bt5/erp5_base/PathTemplateItem/workflow_module/
erp5_
validation_workflow/validate.xml
View file @
5a4dc706
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
destination/workflow_module/validation_workflow/validated
</string>
<string>
destination/workflow_module/
erp5_
validation_workflow/validated
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/validated.xml
→
bt5/erp5_base/PathTemplateItem/workflow_module/
erp5_
validation_workflow/validated.xml
View file @
5a4dc706
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
destination/workflow_module/validation_workflow/invalidate
</string>
<string>
destination/workflow_module/
erp5_
validation_workflow/invalidate
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/delete.xml
deleted
100644 → 0
View file @
a819f3ce
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Transition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/workflow_module/validation_workflow/deleted
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
guard_expression
</string>
</key>
<value>
<string>
python: True
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
delete
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Transition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Delete
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/PathTemplateItem/workflow_module/validation_workflow/deleted.xml
deleted
100644 → 0
View file @
a819f3ce
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"State"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
deleted
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
State
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Deleted
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/PortalTypeTemplateItem/portal_types/Person%20Module.xml
View file @
5a4dc706
...
@@ -63,11 +63,15 @@
...
@@ -63,11 +63,15 @@
</item>
</item>
<item>
<item>
<key>
<string>
init_script
</string>
</key>
<key>
<string>
init_script
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
permission
</string>
</key>
<key>
<string>
permission
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
@@ -77,6 +81,18 @@
...
@@ -77,6 +81,18 @@
<key>
<string>
type_class
</string>
</key>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Folder
</string>
</value>
<value>
<string>
Folder
</string>
</value>
</item>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
bt5/erp5_base/PortalTypeTemplateItem/portal_types/Person.xml
View file @
5a4dc706
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<key>
<string>
workflow_list
</string>
</key>
<key>
<string>
workflow_list
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
validation_workflow
</string>
<string>
erp5_
validation_workflow
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/PersonModule_viewPersonList/listbox.xml
View file @
5a4dc706
...
@@ -322,7 +322,7 @@ Role & Region
...
@@ -322,7 +322,7 @@ Role & Region
<string>
Modification Date
</string>
<string>
Modification Date
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
translated_
validation_state_title
</string>
<string>
validation_state_title
</string>
<string>
State
</string>
<string>
State
</string>
</tuple>
</tuple>
<tuple>
<tuple>
...
@@ -393,7 +393,7 @@ Role & Region
...
@@ -393,7 +393,7 @@ Role & Region
<string>
Modification Date
</string>
<string>
Modification Date
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
translated_
validation_state_title
</string>
<string>
validation_state_title
</string>
<string>
State
</string>
<string>
State
</string>
</tuple>
</tuple>
<tuple>
<tuple>
...
...
bt5/erp5_base/bt/template_path_list
View file @
5a4dc706
...
@@ -8,5 +8,5 @@ portal_categories/divergence_scope/category
...
@@ -8,5 +8,5 @@ portal_categories/divergence_scope/category
portal_categories/divergence_scope/property
portal_categories/divergence_scope/property
portal_categories/divergence_scope/quantity
portal_categories/divergence_scope/quantity
portal_memcached/persistent_memcached_plugin
portal_memcached/persistent_memcached_plugin
workflow_module/validation_workflow
workflow_module/erp5_validation_workflow
workflow_module/validation_workflow/**
workflow_module/erp5_validation_workflow/**
\ No newline at end of file
\ 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