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
Laurent S
erp5
Commits
5f396e61
Commit
5f396e61
authored
Dec 02, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve notification message workflow by adding archived & invalidated state + worklist
parent
f5176e2b
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
623 additions
and
16 deletions
+623
-16
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/scripts.xml
...portal_workflow/notification_message_workflow/scripts.xml
+6
-0
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/scripts/DCWorkflow_validate.xml
...fication_message_workflow/scripts/DCWorkflow_validate.xml
+83
-0
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/archived.xml
...orkflow/notification_message_workflow/states/archived.xml
+100
-0
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/deleted.xml
...workflow/notification_message_workflow/states/deleted.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/draft.xml
...l_workflow/notification_message_workflow/states/draft.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/invalidated.xml
...flow/notification_message_workflow/states/invalidated.xml
+100
-0
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/submitted.xml
...rkflow/notification_message_workflow/states/submitted.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/validated.xml
...rkflow/notification_message_workflow/states/validated.xml
+5
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/archive.xml
...low/notification_message_workflow/transitions/archive.xml
+62
-0
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/delete_action.xml
...tification_message_workflow/transitions/delete_action.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/invalidate.xml
.../notification_message_workflow/transitions/invalidate.xml
+5
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/invalidate_action.xml
...cation_message_workflow/transitions/invalidate_action.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/reject_action.xml
...tification_message_workflow/transitions/reject_action.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/submit_action.xml
...tification_message_workflow/transitions/submit_action.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/validate_action.xml
...fication_message_workflow/transitions/validate_action.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/action.xml
...rkflow/notification_message_workflow/variables/action.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/actor.xml
...orkflow/notification_message_workflow/variables/actor.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/comment.xml
...kflow/notification_message_workflow/variables/comment.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/history.xml
...kflow/notification_message_workflow/variables/history.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/time.xml
...workflow/notification_message_workflow/variables/time.xml
+4
-1
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/worklists.xml
...rtal_workflow/notification_message_workflow/worklists.xml
+6
-0
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/worklists/draft_to_submit.xml
...tification_message_workflow/worklists/draft_to_submit.xml
+102
-0
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/worklists/submitted_to_validate.xml
...tion_message_workflow/worklists/submitted_to_validate.xml
+101
-0
bt5/erp5_base/bt/revision
bt5/erp5_base/bt/revision
+1
-1
No files found.
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/scripts.xml
View file @
5f396e61
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
<dictionary/>
<dictionary/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
scripts
</string>
</value>
<value>
<string>
scripts
</string>
</value>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/scripts/DCWorkflow_validate.xml
0 → 100644
View file @
5f396e61
<?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>
_body
</string>
</key>
<value>
<string>
"""\n
This script is invoked each time a new message is validated\n
The previous version is archived automatically.\n
"""\n
document = state_change[\'object\']\n
reference = document.getReference()\n
if not reference:\n
# If this object has no reference, we can not do anything\n
return\n
portal = document.getPortalObject()\n
portal_catalog = portal.portal_catalog\n
search_kw = dict(reference=reference,\n
validation_state="validated",\n
uid=\'NOT %s\' %document.getUid())\n
for old_document in portal_catalog(**search_kw):\n
old_document = old_document.getObject()\n
old_document.archive()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
state_change
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
DCWorkflow_validate
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/archived.xml
0 → 100644
View file @
5f396e61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
archived
</string>
</value>
</item>
<item>
<key>
<string>
permission_roles
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Archived
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
Access contents information
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
Add portal content
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
Delete objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
Modify portal content
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
View
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/deleted.xml
View file @
5f396e61
...
@@ -41,7 +41,10 @@
...
@@ -41,7 +41,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/draft.xml
View file @
5f396e61
...
@@ -48,7 +48,10 @@
...
@@ -48,7 +48,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/invalidated.xml
0 → 100644
View file @
5f396e61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StateDefinition"
module=
"Products.DCWorkflow.States"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
invalidated
</string>
</value>
</item>
<item>
<key>
<string>
permission_roles
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Invalidated
</string>
</value>
</item>
<item>
<key>
<string>
transitions
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
Access contents information
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
Add portal content
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
Delete objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
Modify portal content
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
View
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/submitted.xml
View file @
5f396e61
...
@@ -46,7 +46,10 @@
...
@@ -46,7 +46,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/states/validated.xml
View file @
5f396e61
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
<key>
<string>
transitions
</string>
</key>
<key>
<string>
transitions
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
archive
</string>
<string>
invalidate
</string>
<string>
invalidate
</string>
<string>
invalidate_action
</string>
<string>
invalidate_action
</string>
</tuple>
</tuple>
...
@@ -44,7 +45,10 @@
...
@@ -44,7 +45,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/archive.xml
0 → 100644
View file @
5f396e61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"TransitionDefinition"
module=
"Products.DCWorkflow.Transitions"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
archive
</string>
</value>
</item>
<item>
<key>
<string>
new_state_id
</string>
</key>
<value>
<string>
archived
</string>
</value>
</item>
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Archive Message
</string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/delete_action.xml
View file @
5f396e61
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/invalidate.xml
View file @
5f396e61
...
@@ -10,6 +10,10 @@
...
@@ -10,6 +10,10 @@
<key>
<string>
actbox_category
</string>
</key>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
<value>
<string>
workflow
</string>
</value>
</item>
</item>
<item>
<key>
<string>
actbox_icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -38,7 +42,7 @@
...
@@ -38,7 +42,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
new_state_id
</string>
</key>
<key>
<string>
new_state_id
</string>
</key>
<value>
<string>
draft
</string>
</value>
<value>
<string>
invalidated
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
script_name
</string>
</key>
<key>
<string>
script_name
</string>
</key>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/invalidate_action.xml
View file @
5f396e61
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/reject_action.xml
View file @
5f396e61
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/submit_action.xml
View file @
5f396e61
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/transitions/validate_action.xml
View file @
5f396e61
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/action.xml
View file @
5f396e61
...
@@ -47,7 +47,10 @@
...
@@ -47,7 +47,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/actor.xml
View file @
5f396e61
...
@@ -47,7 +47,10 @@
...
@@ -47,7 +47,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/comment.xml
View file @
5f396e61
...
@@ -47,7 +47,10 @@
...
@@ -47,7 +47,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/history.xml
View file @
5f396e61
...
@@ -47,7 +47,10 @@
...
@@ -47,7 +47,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/variables/time.xml
View file @
5f396e61
...
@@ -47,7 +47,10 @@
...
@@ -47,7 +47,10 @@
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
<tuple/>
</tuple>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/worklists.xml
View file @
5f396e61
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
<dictionary/>
<dictionary/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
worklists
</string>
</value>
<value>
<string>
worklists
</string>
</value>
...
...
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/worklists/draft_to_submit.xml
0 → 100644
View file @
5f396e61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"WorklistDefinition"
module=
"Products.DCWorkflow.Worklists"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
global
</string>
</value>
</item>
<item>
<key>
<string>
actbox_icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string>
Messages to Submit (%(count)s)
</string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
noftification_message_module?validation_state=draft&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1
]]>
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Message to submit
</string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
draft_to_submit
</string>
</value>
</item>
<item>
<key>
<string>
var_matches
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
roles
</string>
</key>
<value>
<tuple>
<string>
Owner
</string>
<string>
Assignee
</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<tuple>
<string>
Notification Message
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<tuple>
<string>
draft
</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/notification_message_workflow/worklists/submitted_to_validate.xml
0 → 100644
View file @
5f396e61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"WorklistDefinition"
module=
"Products.DCWorkflow.Worklists"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
global
</string>
</value>
</item>
<item>
<key>
<string>
actbox_icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string>
Messages to Validate (%(count)s)
</string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
noftification_message_module?validation_state=submitted&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1
]]>
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Submitted to validate
</string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
submitted_to_validate
</string>
</value>
</item>
<item>
<key>
<string>
var_matches
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Guard"
module=
"Products.DCWorkflow.Guard"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
roles
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<tuple>
<string>
Notification Message
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<tuple>
<string>
submitted
</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/bt/revision
View file @
5f396e61
1053
1054
\ 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