From 6df63b2b896de063e2e02993b7f17ae25576ad0e Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sat, 16 Jun 2007 16:48:41 +0000 Subject: [PATCH] A project is no longer considered as an order (result of discussion of august 2006 and joint design with Rafael). Orders should hold the "offer" hierarchiczal structure (with requirements, people, etc.) while projects are only a tool for reporting and structuring tasks, accounting, etc. I implemented a quick and dirty project_workflow to make project usable in a configuration with security. But the project module has still be be reviewed to integrate what is useful in the sev project and to integrate all the design of august 2006. Same for order. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14838 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../workflow_chain_type.xml | 2 +- .../erp5_project/Project_view.xml | 2 +- .../my_destination_section_title.xml | 2 +- .../Project_view/my_destination_title.xml | 2 +- .../my_translated_simulation_state_title.xml | 110 ------- .../my_translated_validation_state_title.xml | 272 ++++++++++++++++++ .../portal_workflow/project_workflow.xml | 88 ++++++ .../project_workflow/scripts.xml | 46 +++ .../project_workflow/states.xml | 46 +++ .../project_workflow/states/deleted.xml | 101 +++++++ .../project_workflow/states/draft.xml | 124 ++++++++ .../project_workflow/states/invalidated.xml | 114 ++++++++ .../project_workflow/states/suspended.xml | 53 ++++ .../project_workflow/states/validated.xml | 117 ++++++++ .../project_workflow/transitions.xml | 46 +++ .../project_workflow/transitions/delete.xml | 70 +++++ .../transitions/delete_action.xml | 94 ++++++ .../transitions/invalidate.xml | 70 +++++ .../transitions/invalidate_action.xml | 94 ++++++ .../project_workflow/transitions/suspend.xml | 70 +++++ .../transitions/suspend_action.xml | 94 ++++++ .../project_workflow/transitions/validate.xml | 76 +++++ .../transitions/validate_action.xml | 94 ++++++ .../project_workflow/variables.xml | 46 +++ .../project_workflow/variables/action.xml | 85 ++++++ .../project_workflow/variables/actor.xml | 85 ++++++ .../project_workflow/variables/comment.xml | 85 ++++++ .../variables/error_message.xml | 60 ++++ .../project_workflow/variables/history.xml | 85 ++++++ .../variables/portal_type.xml | 60 ++++ .../project_workflow/variables/time.xml | 85 ++++++ .../project_workflow/worklists.xml | 46 +++ .../worklists/draft_account.xml | 122 ++++++++ .../template_portal_type_workflow_chain_list | 2 +- bt5/erp5_project/bt/template_workflow_id_list | 1 + 35 files changed, 2434 insertions(+), 115 deletions(-) delete mode 100644 bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_simulation_state_title.xml create mode 100644 bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_validation_state_title.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/scripts.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/draft.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/invalidated.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/suspended.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete_action.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate_action.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend_action.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate_action.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/action.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/actor.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/comment.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/error_message.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/history.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/portal_type.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/time.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists.xml create mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists/draft_account.xml diff --git a/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index bb5fe2082a..b6452ffd35 100644 --- a/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_project/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -1,7 +1,7 @@ <workflow_chain> <chain> <type>Project</type> - <workflow>edit_workflow, order_workflow</workflow> + <workflow>edit_workflow, project_workflow</workflow> </chain> <chain> <type>Project Line</type> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view.xml index 02f18356bc..88033da708 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view.xml @@ -108,7 +108,7 @@ <string>my_reference</string> <string>my_destination_section_title</string> <string>my_destination_title</string> - <string>my_translated_simulation_state_title</string> + <string>my_translated_validation_state_title</string> </list> </value> </item> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_section_title.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_section_title.xml index d1b2eb534e..ff274232e5 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_section_title.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_section_title.xml @@ -170,7 +170,7 @@ <value> <string>BaseTradeProject_FieldLibrary</string> </value> </item> <item> - <key> <string>title</string> </key> + <key> <string>title</string> </key> <value> <string>Invoiced Customer</string> </value> </item> </dictionary> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_title.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_title.xml index 16703dfbe1..43c931523f 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_title.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_destination_title.xml @@ -170,7 +170,7 @@ <value> <string>BaseTradeProject_FieldLibrary</string> </value> </item> <item> - <key> <string>title</string> </key> + <key> <string>title</string> </key> <value> <string>Project Location</string> </value> </item> </dictionary> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_simulation_state_title.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_simulation_state_title.xml deleted file mode 100644 index 131cf06caf..0000000000 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_simulation_state_title.xml +++ /dev/null @@ -1,110 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.ERP5Form.ProxyField</string> - <string>ProxyField</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>delegated_list</string> </key> - <value> - <list/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>my_translated_simulation_state_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>extra_context</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>field_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>form_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>target</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>tales</string> </key> - <value> - <dictionary> - <item> - <key> <string>extra_context</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>field_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>form_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>target</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>values</string> </key> - <value> - <dictionary> - <item> - <key> <string>extra_context</string> </key> - <value> - <list/> - </value> - </item> - <item> - <key> <string>field_id</string> </key> - <value> <string>my_translated_simulation_state_title</string> </value> - </item> - <item> - <key> <string>form_id</string> </key> - <value> <string>BaseTradeProject_FieldLibrary</string> </value> - </item> - <item> - <key> <string>target</string> </key> - <value> <string>Click to edit the target</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_validation_state_title.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_validation_state_title.xml new file mode 100644 index 0000000000..2d7d2549ec --- /dev/null +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_translated_validation_state_title.xml @@ -0,0 +1,272 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.StandardFields</string> + <string>StringField</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_translated_validation_state_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>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>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</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>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</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> + <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>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</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>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</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> + <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>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</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>0</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>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>State</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>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow.xml new file mode 100644 index 0000000000..8e2ca71b8e --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow.xml @@ -0,0 +1,88 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.DCWorkflow</string> + <string>DCWorkflowDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>creation_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>project_workflow</string> </value> + </item> + <item> + <key> <string>initial_state</string> </key> + <value> <string>draft</string> </value> + </item> + <item> + <key> <string>manager_bypass</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Access contents information</string> + <string>Modify portal content</string> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>state_var</string> </key> + <value> <string>validation_state</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Project Workflow</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/scripts.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/scripts.xml new file mode 100644 index 0000000000..c5f5085430 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/scripts.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Scripts</string> + <string>Scripts</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>scripts</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states.xml new file mode 100644 index 0000000000..9653d814da --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.States</string> + <string>States</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>states</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml new file mode 100644 index 0000000000..0a23f3f67b --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml @@ -0,0 +1,101 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.States</string> + <string>StateDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deleted</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>Deleted</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> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>Access contents information</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Auditor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>Modify portal content</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>View</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/draft.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/draft.xml new file mode 100644 index 0000000000..b9f4543a1a --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/draft.xml @@ -0,0 +1,124 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.States</string> + <string>StateDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>draft</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>Draft</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple> + <string>delete</string> + <string>delete_action</string> + <string>validate</string> + <string>validate_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</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> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>Modify portal content</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </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> + <string>Owner</string> + </tuple> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/invalidated.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/invalidated.xml new file mode 100644 index 0000000000..c69f47338a --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/invalidated.xml @@ -0,0 +1,114 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.States</string> + <string>StateDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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>Closed</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple> + <string>delete</string> + <string>delete_action</string> + <string>validate</string> + <string>validate_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</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>Modify portal content</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Manager</string> + </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> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/suspended.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/suspended.xml new file mode 100644 index 0000000000..33c74f94b0 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/suspended.xml @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.States</string> + <string>StateDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>suspended</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Suspended</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple> + <string>invalidate</string> + <string>invalidate_action</string> + <string>suspend</string> + <string>suspend_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml new file mode 100644 index 0000000000..0dc0ac7166 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml @@ -0,0 +1,117 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.States</string> + <string>StateDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>validated</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>Open</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple> + <string>invalidate</string> + <string>invalidate_action</string> + <string>suspend</string> + <string>suspend_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</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>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> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions.xml new file mode 100644 index 0000000000..eec7ba7928 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>Transitions</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>transitions</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete.xml new file mode 100644 index 0000000000..2659ed2cfa --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</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>delete</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>deleted</string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete_action.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete_action.xml new file mode 100644 index 0000000000..362063e778 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/delete_action.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</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>delete</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></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>delete_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate.xml new file mode 100644 index 0000000000..1593b509f4 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</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>invalidate</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>invalidated</string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate_action.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate_action.xml new file mode 100644 index 0000000000..e724d200ad --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/invalidate_action.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Close Project</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=invalidate_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>invalidate</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></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>invalidate_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Assignee</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend.xml new file mode 100644 index 0000000000..984948328c --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</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>suspend</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>suspended</string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend_action.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend_action.xml new file mode 100644 index 0000000000..860aa64131 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/suspend_action.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Suspend Project</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=validate_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>suspend</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></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>suspend_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Assignee</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate.xml new file mode 100644 index 0000000000..f1ee3e5e5f --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate.xml @@ -0,0 +1,76 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</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>validate</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>validated</string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate_action.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate_action.xml new file mode 100644 index 0000000000..5b1b73e677 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/transitions/validate_action.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Open Project</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=validate_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>validate</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></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>validate_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Assignee</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables.xml new file mode 100644 index 0000000000..d36f9e73c8 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>Variables</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>variables</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/action.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/action.xml new file mode 100644 index 0000000000..e2d54b25d7 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/action.xml @@ -0,0 +1,85 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>VariableDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_expr</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>default_value</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>for_catalog</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>for_status</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>action</string> </value> + </item> + <item> + <key> <string>info_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>update_always</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>transition/getId|nothing</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/actor.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/actor.xml new file mode 100644 index 0000000000..b81346a188 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/actor.xml @@ -0,0 +1,85 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>VariableDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_expr</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>default_value</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>for_catalog</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>for_status</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>actor</string> </value> + </item> + <item> + <key> <string>info_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>update_always</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>user/getUserName</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/comment.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/comment.xml new file mode 100644 index 0000000000..05ac72139e --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/comment.xml @@ -0,0 +1,85 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>VariableDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_expr</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>default_value</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>for_catalog</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>for_status</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>comment</string> </value> + </item> + <item> + <key> <string>info_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>update_always</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:state_change.kwargs.get(\'comment\',\'\')</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/error_message.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/error_message.xml new file mode 100644 index 0000000000..05f2a3ece8 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/error_message.xml @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>VariableDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_expr</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_value</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>for_catalog</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>for_status</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>error_message</string> </value> + </item> + <item> + <key> <string>info_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>update_always</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/history.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/history.xml new file mode 100644 index 0000000000..2a212275cf --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/history.xml @@ -0,0 +1,85 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>VariableDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_expr</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>default_value</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>for_catalog</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>for_status</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>history</string> </value> + </item> + <item> + <key> <string>info_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>update_always</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>state_change/getHistory</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/portal_type.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/portal_type.xml new file mode 100644 index 0000000000..aaacee8edc --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/portal_type.xml @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>VariableDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_expr</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_value</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>for_catalog</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>for_status</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>portal_type</string> </value> + </item> + <item> + <key> <string>info_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>update_always</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/time.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/time.xml new file mode 100644 index 0000000000..a389129998 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/variables/time.xml @@ -0,0 +1,85 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Variables</string> + <string>VariableDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_expr</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>default_value</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>for_catalog</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>for_status</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>time</string> </value> + </item> + <item> + <key> <string>info_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>update_always</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>state_change/getDateTime</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists.xml new file mode 100644 index 0000000000..055366cf24 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Worklists</string> + <string>Worklists</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>worklists</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists/draft_account.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists/draft_account.xml new file mode 100644 index 0000000000..2500839d21 --- /dev/null +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/worklists/draft_account.xml @@ -0,0 +1,122 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Worklists</string> + <string>WorklistDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>global</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Accounts to Validate (%(count)s)</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +account_module/view?validation_state=draft&reset:int=1 + +]]></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></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_account</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> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Assignee</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>portal_type</string> </key> + <value> + <tuple> + <string>Account</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> diff --git a/bt5/erp5_project/bt/template_portal_type_workflow_chain_list b/bt5/erp5_project/bt/template_portal_type_workflow_chain_list index 622cf5927d..2331d2d358 100644 --- a/bt5/erp5_project/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_project/bt/template_portal_type_workflow_chain_list @@ -1,6 +1,6 @@ Project Line | edit_workflow Project | edit_workflow -Project | order_workflow +Project | project_workflow Requirement Document | edit_workflow Requirement | edit_workflow Requirement | requirement_analysis_workflow diff --git a/bt5/erp5_project/bt/template_workflow_id_list b/bt5/erp5_project/bt/template_workflow_id_list index 15a695627d..38bad34c37 100644 --- a/bt5/erp5_project/bt/template_workflow_id_list +++ b/bt5/erp5_project/bt/template_workflow_id_list @@ -1,3 +1,4 @@ +project_workflow requirement_analysis_workflow task_report_causality_workflow task_report_interaction_workflow -- 2.30.9