From 6e7d27dd51a8edfba9263215d3aa53d9fb6219dd Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Wed, 12 May 2010 17:18:54 +0000 Subject: [PATCH] contributor category and processing_status_workflow has moved to erp5_base. document_interaction_workflow has been replaced by document_conversion_interaction_workflow and document_security_interaction_workflow git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35257 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_categories/contributor.xml | 217 ------------------ .../document_interaction_workflow.xml | 49 ---- .../interactions.xml | 31 --- .../interactions/Document_edit.xml | 97 -------- .../interactions/Document_setContributor.xml | 104 --------- .../interactions/Document_setFile.xml | 94 -------- .../interactions/OOoDocument_edit.xml | 89 ------- .../document_interaction_workflow/scripts.xml | 31 --- .../scripts/Document_guessMimeType.xml | 125 ---------- .../scripts/Document_setContributor.xml | 146 ------------ .../scripts/OOoDocument_updateMetadata.xml | 173 -------------- .../scripts/updateLocalRoles.xml | 131 ----------- .../scripts/upload.xml | 140 ----------- .../variables.xml | 25 -- .../worklists.xml | 25 -- .../processing_status_workflow.xml | 63 ----- .../processing_status_workflow/scripts.xml | 31 --- .../scripts/Document_convertToBaseFormat.xml | 128 ----------- .../processing_status_workflow/states.xml | 31 --- .../states/conversion_failed.xml | 43 ---- .../states/converted.xml | 43 ---- .../states/converting.xml | 45 ---- .../states/empty.xml | 43 ---- .../states/uploaded.xml | 44 ---- .../transitions.xml | 31 --- .../transitions/conversion_failed.xml | 61 ----- .../transitions/convert_action.xml | 103 --------- .../transitions/convert_file.xml | 61 ----- .../transitions/detect_converted_file.xml | 95 -------- .../transitions/detect_uploaded_file.xml | 103 --------- .../transitions/process_conversion_failed.xml | 61 ----- .../transitions/process_file.xml | 95 -------- .../transitions/update_file_metadata.xml | 61 ----- .../transitions/upload_file.xml | 61 ----- .../processing_status_workflow/variables.xml | 31 --- .../variables/action.xml | 70 ------ .../variables/actor.xml | 70 ------ .../variables/comment.xml | 70 ------ .../variables/error_message.xml | 51 ---- .../variables/history.xml | 70 ------ .../variables/portal_type.xml | 51 ---- .../variables/serial.xml | 70 ------ .../variables/time.xml | 70 ------ .../processing_status_workflow/worklists.xml | 25 -- bt5/erp5_dms/bt/revision | 2 +- bt5/erp5_dms/bt/template_base_category_list | 1 - bt5/erp5_dms/bt/template_workflow_id_list | 4 +- 47 files changed, 2 insertions(+), 3263 deletions(-) delete mode 100644 bt5/erp5_dms/CategoryTemplateItem/portal_categories/contributor.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setContributor.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setFile.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/OOoDocument_edit.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_guessMimeType.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_setContributor.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/OOoDocument_updateMetadata.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/updateLocalRoles.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/variables.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/worklists.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts/Document_convertToBaseFormat.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/conversion_failed.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converted.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converting.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/empty.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/uploaded.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/conversion_failed.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_action.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_file.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_converted_file.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_uploaded_file.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_conversion_failed.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_file.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/update_file_metadata.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/upload_file.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/action.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/actor.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/comment.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/error_message.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/history.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/portal_type.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/serial.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/time.xml delete mode 100644 bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/worklists.xml diff --git a/bt5/erp5_dms/CategoryTemplateItem/portal_categories/contributor.xml b/bt5/erp5_dms/CategoryTemplateItem/portal_categories/contributor.xml deleted file mode 100644 index 67bec9fe69..0000000000 --- a/bt5/erp5_dms/CategoryTemplateItem/portal_categories/contributor.xml +++ /dev/null @@ -1,217 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="BaseCategory" module="Products.ERP5Type.Document.BaseCategory"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_count</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>_mt_index</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>_tree</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> - </value> - </item> - <item> - <key> <string>acquisition_append_value</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>acquisition_base_category</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>acquisition_copy_value</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>acquisition_mask_value</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>acquisition_object_id</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>acquisition_portal_type</string> </key> - <value> <string>python: []</string> </value> - </item> - <item> - <key> <string>acquisition_sync_value</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>categories</string> </key> - <value> - <tuple> - <string>contributor</string> - </tuple> - </value> - </item> - <item> - <key> <string>category_type</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>criterion_property</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>fallback_base_category</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>contributor</string> </value> - </item> - <item> - <key> <string>id_generator</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id_group</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>last_id</string> </key> - <value> <string>1</string> </value> - </item> - <item> - <key> <string>membership_criterion_base_category</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>membership_criterion_category</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>multimembership_criterion_base_category</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Base Category</string> </value> - </item> - <item> - <key> <string>read_permission</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>rid</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>short_title</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>sid</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>test_method_id</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Contributor</string> </value> - </item> - <item> - <key> <string>write_permission</string> </key> - <value> - <none/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>BTrees.Length</string> - <string>Length</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> <int>0</int> </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <tuple> - <string>BTrees.OOBTree</string> - <string>OOBTree</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <none/> - </pickle> - </record> - <record id="4" aka="AAAAAAAAAAQ="> - <pickle> - <tuple> - <tuple> - <string>BTrees.OOBTree</string> - <string>OOBTree</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <none/> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow.xml deleted file mode 100644 index 080d6169d1..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="InteractionWorkflowDefinition" module="Products.ERP5.InteractionWorkflow"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>creation_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>This interaction workflow tracks uploads in an existing document and triggers appropriate conversion methods if necessary. It also tracks any edit made to a document and updates local roles / metadata.</string> </value> - </item> - <item> - <key> <string>groups</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>document_interaction_workflow</string> </value> - </item> - <item> - <key> <string>manager_bypass</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Document Interactions</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions.xml deleted file mode 100644 index 6788072919..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Interaction" module="Products.ERP5.Interaction"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>interactions</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml deleted file mode 100644 index 82ec632419..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="InteractionDefinition" module="Products.ERP5.Interaction"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>activate_script_name</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> - <list> - <string>updateLocalRoles</string> - </list> - </value> - </item> - <item> - <key> <string>before_commit_script_name</string> </key> - <value> - <tuple/> - </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>Document_edit</string> </value> - </item> - <item> - <key> <string>method_id</string> </key> - <value> - <list> - <string>_edit</string> - </list> - </value> - </item> - <item> - <key> <string>once_per_transaction</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>portal_type_filter</string> </key> - <value> - <list> - <string>File</string> - <string>Image</string> - <string>PDF</string> - </list> - </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> - <tuple/> - </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_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setContributor.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setContributor.xml deleted file mode 100644 index 435aef5b99..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setContributor.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="InteractionDefinition" module="Products.ERP5.Interaction"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>activate_script_name</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>before_commit_script_name</string> </key> - <value> - <list> - <string>Document_setContributor</string> - </list> - </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>Document_setContributor</string> </value> - </item> - <item> - <key> <string>method_id</string> </key> - <value> - <list> - <string>_set*</string> - </list> - </value> - </item> - <item> - <key> <string>once_per_transaction</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>portal_type_filter</string> </key> - <value> - <list> - <string>Discussion Post</string> - <string>Discussion Thread</string> - <string>Drawing</string> - <string>File</string> - <string>Image</string> - <string>PDF</string> - <string>Presentation</string> - <string>Spreadsheet</string> - <string>Text</string> - <string>Web Page</string> - </list> - </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> - <tuple/> - </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_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setFile.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setFile.xml deleted file mode 100644 index fe6daee63f..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_setFile.xml +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="InteractionDefinition" module="Products.ERP5.Interaction"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>activate_script_name</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> - <list> - <string>Document_guessMimeType</string> - <string>upload</string> - </list> - </value> - </item> - <item> - <key> <string>before_commit_script_name</string> </key> - <value> - <tuple/> - </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>Document_setFile</string> </value> - </item> - <item> - <key> <string>method_id</string> </key> - <value> - <list> - <string>_setFile</string> - </list> - </value> - </item> - <item> - <key> <string>once_per_transaction</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>portal_type_filter</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> - <tuple/> - </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_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/OOoDocument_edit.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/OOoDocument_edit.xml deleted file mode 100644 index 24707fcf72..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/OOoDocument_edit.xml +++ /dev/null @@ -1,89 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="InteractionDefinition" module="Products.ERP5.Interaction"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>activate_script_name</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> - <tuple/> - </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>OOoDocument_edit</string> </value> - </item> - <item> - <key> <string>method_id</string> </key> - <value> - <list> - <string>edit</string> - </list> - </value> - </item> - <item> - <key> <string>portal_type_filter</string> </key> - <value> - <list> - <string>Drawing</string> - <string>Presentation</string> - <string>Spreadsheet</string> - <string>Text</string> - </list> - </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> - <list> - <string>OOoDocument_updateMetadata</string> - <string>updateLocalRoles</string> - </list> - </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_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts.xml deleted file mode 100644 index 0622b3c34f..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Scripts" module="Products.DCWorkflow.Scripts"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_guessMimeType.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_guessMimeType.xml deleted file mode 100644 index b66f58640c..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_guessMimeType.xml +++ /dev/null @@ -1,125 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </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>document = state_change[\'object\']\n -document.guessMimeType()\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>state_change</string> - <string>_getitem_</string> - <string>document</string> - <string>_getattr_</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>Document_guessMimeType</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_setContributor.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_setContributor.xml deleted file mode 100644 index cd4f3e135f..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/Document_setContributor.xml +++ /dev/null @@ -1,146 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </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 - Add contributor to document if logged in user has a respective ERP5\n - Person object.\n -"""\n -document = state_change[\'object\']\n -contributor_list = document.getContributorValueList()\n -person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n -if person is not None and person not in contributor_list:\n - # a real ERP5 Person object does exist\n - contributor_list.append(person)\n - document.setContributorValueList(contributor_list)\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change</string> </value> - </item> - <item> - <key> <string>_proxy_roles</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>state_change</string> - <string>_getitem_</string> - <string>document</string> - <string>_getattr_</string> - <string>contributor_list</string> - <string>context</string> - <string>person</string> - <string>None</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>Document_setContributor</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/OOoDocument_updateMetadata.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/OOoDocument_updateMetadata.xml deleted file mode 100644 index e96a63e955..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/OOoDocument_updateMetadata.xml +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </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 encoding="cdata"><![CDATA[ - -"""\n -when OOoDocument is edited, we update metadata in the ODF file\n -\n -XXX - This script must be verified, written with clean syntax\n -"""\n -document = state_change[\'object\']\n -kw = state_change[\'kwargs\']\n -\n -# key is a name of erp5 field.\n -# value is a name of document metadata.\n -metadata_field_mapping_dict = document.getMetadataMappingDict()\n -\n -# edit metadata (only if we have OOo file)\n -if document.hasBaseData():\n - new_metadata = {}\n - for field in metadata_field_mapping_dict.keys():\n - value = kw.get(field, None)\n - if value is None:\n - value_list = kw.get(\'%s_list\' % field, None)\n - if value_list is not None:\n - if len(value_list)>0:\n - value = \' \'.join(map(str, value_list))\n - else:\n - value = \'\'\n - if value is not None:\n - metadata_key = metadata_field_mapping_dict[field]\n - new_metadata[metadata_key] = value\n - if new_metadata:\n - # edit metadata via server\n - after_tag = \'document_%s_convert\' % document.getPath()\n - document.activate(after_tag=after_tag).Document_tryToUpdateBaseMetadata(**new_metadata)\n - - -]]></string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>state_change</string> - <string>_getitem_</string> - <string>document</string> - <string>kw</string> - <string>_getattr_</string> - <string>metadata_field_mapping_dict</string> - <string>new_metadata</string> - <string>_getiter_</string> - <string>field</string> - <string>None</string> - <string>value</string> - <string>value_list</string> - <string>len</string> - <string>map</string> - <string>str</string> - <string>metadata_key</string> - <string>_write_</string> - <string>after_tag</string> - <string>_apply_</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>OOoDocument_updateMetadata</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/updateLocalRoles.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/updateLocalRoles.xml deleted file mode 100644 index 8231925f71..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/updateLocalRoles.xml +++ /dev/null @@ -1,131 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </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>state_change[\'object\'].updateLocalRolesOnSecurityGroups()\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change</string> </value> - </item> - <item> - <key> <string>_proxy_roles</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>state_change</string> - <string>_getattr_</string> - <string>_getitem_</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>updateLocalRoles</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml deleted file mode 100644 index 0b402d6768..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/scripts/upload.xml +++ /dev/null @@ -1,140 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </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>document = state_change[\'object\']\n -if document.hasBaseData():\n - document.uploadFile()\n -\n -# do not activate conversion if the object is in portal_contributions\n -# because it will be gone from there in a second\n -# and activate would fail\n -if document.getParentValue().getPortalType() != \'Contribution Tool\' \\\n - and document.isSupportBaseDataConversion():\n - document.processFile()\n - tag = \'document_%s_convert\' % document.getPath()\n - document.activate(tag=tag).Document_tryToConvertToBaseFormat()\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>state_change</string> - <string>_getitem_</string> - <string>document</string> - <string>_getattr_</string> - <string>tag</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>upload</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Move to upload state and activate convert</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/variables.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/variables.xml deleted file mode 100644 index 5547232278..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/variables.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Variables" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>variables</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/worklists.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/worklists.xml deleted file mode 100644 index 1f8b17b012..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/worklists.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Worklists" module="Products.DCWorkflow.Worklists"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>worklists</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow.xml deleted file mode 100644 index c3a2d0633a..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow.xml +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="DCWorkflowDefinition" module="Products.DCWorkflow.DCWorkflow"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>creation_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>This workflow tracks changes to the current document as well as the state in the conversion process. It provides access to history through serial numbers.</string> </value> - </item> - <item> - <key> <string>groups</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>processing_status_workflow</string> </value> - </item> - <item> - <key> <string>initial_state</string> </key> - <value> <string>empty</string> </value> - </item> - <item> - <key> <string>manager_bypass</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>state_var</string> </key> - <value> <string>external_processing_state</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>External Processing Workflow</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts.xml deleted file mode 100644 index 0622b3c34f..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Scripts" module="Products.DCWorkflow.Scripts"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts/Document_convertToBaseFormat.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts/Document_convertToBaseFormat.xml deleted file mode 100644 index b7cf2b3732..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/scripts/Document_convertToBaseFormat.xml +++ /dev/null @@ -1,128 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </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>document = state_change[\'object\']\n -\n -if document.isSupportBaseDataConversion() and not document.hasBaseData():\n - document.processFile()\n - document.activate().convertToBaseFormat()\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>state_change</string> - <string>_getitem_</string> - <string>document</string> - <string>_getattr_</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>Document_convertToBaseFormat</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states.xml deleted file mode 100644 index a21bb6e959..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="States" module="Products.DCWorkflow.States"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/conversion_failed.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/conversion_failed.xml deleted file mode 100644 index b022f6274b..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/conversion_failed.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>Conversion process failed from some reason</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>conversion_failed</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Conversion Failed</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>convert_action</string> - <string>process_conversion_failed</string> - <string>process_file</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converted.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converted.xml deleted file mode 100644 index 908eb79622..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converted.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>State of the document when converted to an open document</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>converted</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Converted</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>process_file</string> - <string>update_file_metadata</string> - <string>upload_file</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converting.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converting.xml deleted file mode 100644 index 266a3512d0..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/converting.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>Indicates that the conversion of document to an open document is in process</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>converting</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Converting</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>conversion_failed</string> - <string>convert_action</string> - <string>convert_file</string> - <string>process_file</string> - <string>upload_file</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/empty.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/empty.xml deleted file mode 100644 index b4a6c62065..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/empty.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>default state of the document in the converting process</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>empty</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Empty</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>detect_uploaded_file</string> - <string>process_file</string> - <string>upload_file</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/uploaded.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/uploaded.xml deleted file mode 100644 index 9969c1f9b7..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/states/uploaded.xml +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>uploaded</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Uploaded</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>convert_action</string> - <string>detect_converted_file</string> - <string>process_file</string> - <string>upload_file</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions.xml deleted file mode 100644 index 092a5b48f6..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Transitions" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/conversion_failed.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/conversion_failed.xml deleted file mode 100644 index 2d0b88413e..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/conversion_failed.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>conversion_failed</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>conversion_failed</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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_action.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_action.xml deleted file mode 100644 index 6d00556407..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_action.xml +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Convert to OpenDocument</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/OOoDocument_convertToBase</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Call this action to convert the document to an open document format</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>convert_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>converting</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Convert File Action</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> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>Modify portal content</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>object/isSupportBaseDataConversion|nothing</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_file.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_file.xml deleted file mode 100644 index 23ea4adeab..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/convert_file.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>This workflow method is called to convert a file to a certain format</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>convert_file</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>converted</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Convert File</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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_converted_file.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_converted_file.xml deleted file mode 100644 index 53d01c64a9..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_converted_file.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>will automatically detected when file is completely converted</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>detect_converted_file</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>converted</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Detect Converted File</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>0</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python: here.isSupportBaseDataConversion() and here.hasBaseData()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_uploaded_file.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_uploaded_file.xml deleted file mode 100644 index 971f447b2f..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/detect_uploaded_file.xml +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>Document_convertToBaseFormat</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>detect_uploaded_file</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>uploaded</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Detect Uploaded File</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>0</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>Access contents information</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python: here.hasData()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_conversion_failed.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_conversion_failed.xml deleted file mode 100644 index b48393908f..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_conversion_failed.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>process_conversion_failed</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>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_file.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_file.xml deleted file mode 100644 index 6b2983c5c5..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/process_file.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>This workflow method is called whenever conversion has failed</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>process_file</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>converting</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Process File</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>object/isSupportBaseDataConversion|nothing</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/update_file_metadata.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/update_file_metadata.xml deleted file mode 100644 index ab3921b277..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/update_file_metadata.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>This method is invoked each time a file metadata is changed.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>update_file_metadata</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>converted</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Update File Metadata</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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/upload_file.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/upload_file.xml deleted file mode 100644 index db063afabf..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/transitions/upload_file.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>This method is invoked each time a file is uploaded</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>upload_file</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>uploaded</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Upload File</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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables.xml deleted file mode 100644 index a067e6fbbe..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Variables" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/action.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/action.xml deleted file mode 100644 index df6c2ee67f..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/action.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>The last transition</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>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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/actor.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/actor.xml deleted file mode 100644 index f65890149e..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/actor.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>The name of the user who performed the last transition</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>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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/comment.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/comment.xml deleted file mode 100644 index 5774567823..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/comment.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>Comments about the last transition</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>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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/error_message.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/error_message.xml deleted file mode 100644 index ca8bd983f6..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/error_message.xml +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>Error message if validation failed</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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/history.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/history.xml deleted file mode 100644 index ac03af9143..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/history.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>Provides access to workflow history</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>update_always</string> </key> - <value> <int>0</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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/portal_type.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/portal_type.xml deleted file mode 100644 index d1c833ff18..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/portal_type.xml +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>portal type (use as filter for worklists)</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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/serial.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/serial.xml deleted file mode 100644 index 5379e57a32..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/serial.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>serial</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> - <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/object/getHistorySerial | nothing</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/time.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/time.xml deleted file mode 100644 index fa51ccb81b..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/variables/time.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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>Time of the last transition</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>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_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/worklists.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/worklists.xml deleted file mode 100644 index 1f8b17b012..0000000000 --- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/processing_status_workflow/worklists.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="Worklists" module="Products.DCWorkflow.Worklists"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>worklists</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index 7061465351..8061414c13 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -1125 +1126 \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_base_category_list b/bt5/erp5_dms/bt/template_base_category_list index bba67cb7c9..61efbb7e3a 100644 --- a/bt5/erp5_dms/bt/template_base_category_list +++ b/bt5/erp5_dms/bt/template_base_category_list @@ -1,3 +1,2 @@ classification -contributor update_frequency \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_workflow_id_list b/bt5/erp5_dms/bt/template_workflow_id_list index 248f4d14be..ede7ad0afe 100644 --- a/bt5/erp5_dms/bt/template_workflow_id_list +++ b/bt5/erp5_dms/bt/template_workflow_id_list @@ -1,8 +1,6 @@ document_ingestion_interaction_workflow document_ingestion_workflow -document_interaction_workflow document_publication_workflow document_staging_workflow external_document_interaction_workflow -external_document_publication_workflow -processing_status_workflow \ No newline at end of file +external_document_publication_workflow \ No newline at end of file -- 2.30.9