From 507c82edd49712280c18d5cad0031667a21e9627 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Mon, 1 Mar 2010 12:44:53 +0000 Subject: [PATCH] Initial import of new business template which aim to create Data Protection Request from any document (Global Action). These requests are managed by data protection manager who can delete compromised data on any document (Script proxyfied by role Manager). Once the data protection manager reviewed the Data Protection Request, he can delete some properties on related document or delete all comments in workflow history. Each clean up operation is stored on document as comment in edit_workflow, in order to track data regression. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33175 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../view.xml | 89 +++ .../erase_some_original_data.xml | 109 ++++ .../Data%20Protection%20Request/view.xml | 89 +++ .../raise_data_protection_request.xml | 95 +++ .../DataProtectionRequestUtils.py | 81 +++ .../data_protection_request_module.xml | 96 +++ .../allowed_content_types.xml | 5 + .../base_category_list.xml | 5 + .../property_sheet_list.xml | 5 + .../Data%20Protection%20Request%20Module.xml | 142 +++++ .../Data%20Protection%20Request.xml | 118 ++++ .../workflow_chain_type.xml | 6 + .../portal_skins/erp5_data_protection.xml | 29 + .../Base_addDataProtectionRequest.xml | 154 +++++ .../Base_getErasablePropertyList.xml | 175 ++++++ .../Base_purgeWorkflowHistoryCommentList.xml | 31 + ...se_updatePropertyMapListWithFieldLabel.xml | 31 + ...e_viewRaiseDataProtectionRequestDialog.xml | 155 +++++ .../your_description.xml | 283 +++++++++ ...stModule_viewDataProtectionRequestList.xml | 155 +++++ .../listbox.xml | 187 ++++++ ...rotectionRequest_eraseSomeOriginalData.xml | 174 ++++++ .../DataProtectionRequest_view.xml | 165 +++++ .../my_contributor_title.xml | 552 +++++++++++++++++ .../my_description.xml | 304 ++++++++++ .../my_follow_up_title.xml | 570 ++++++++++++++++++ .../DataProtectionRequest_view/my_owner.xml | 263 ++++++++ .../my_reference.xml | 263 ++++++++ .../my_text_content.xml | 283 +++++++++ .../DataProtectionRequest_view/my_title.xml | 263 ++++++++ .../my_translated_validation_state_title.xml | 263 ++++++++ ...equest_viewEraseSomeOriginalDataDialog.xml | 159 +++++ .../listbox.xml | 564 +++++++++++++++++ .../your_flush_worklfow_history_comment.xml | 171 ++++++ .../your_follow_title.xml | 281 +++++++++ .../data_protection_request_workflow.xml | 69 +++ .../scripts.xml | 25 + .../states.xml | 31 + .../states/closed.xml | 39 ++ .../states/deleted.xml | 39 ++ .../states/draft.xml | 44 ++ .../states/open.xml | 42 ++ .../states/submitted.xml | 44 ++ .../transitions.xml | 31 + .../transitions/close.xml | 61 ++ .../transitions/close_action.xml | 61 ++ .../transitions/delete.xml | 61 ++ .../transitions/delete_action.xml | 61 ++ .../transitions/open.xml | 61 ++ .../transitions/open_action.xml | 61 ++ .../transitions/submit.xml | 61 ++ .../transitions/submit_action.xml | 61 ++ .../variables.xml | 31 + .../variables/action.xml | 67 ++ .../variables/actor.xml | 67 ++ .../variables/comment.xml | 67 ++ .../variables/error_message.xml | 51 ++ .../variables/history.xml | 67 ++ .../variables/portal_type.xml | 51 ++ .../variables/time.xml | 67 ++ .../worklists.xml | 25 + .../erp5_data_protection/bt/categories_list | 0 .../erp5_data_protection/bt/change_log | 1 + .../erp5_data_protection/bt/comment | 0 .../erp5_data_protection/bt/copyright_list | 1 + .../erp5_data_protection/bt/dependency_list | 0 .../erp5_data_protection/bt/description | 1 + .../erp5_data_protection/bt/license | 1 + .../erp5_data_protection/bt/maintainer_list | 0 .../erp5_data_protection/bt/provision_list | 0 .../erp5_data_protection/bt/revision | 1 + .../bt/template_action_path_list | 4 + .../bt/template_base_category_list | 0 .../bt/template_catalog_datetime_key_list | 0 .../bt/template_catalog_full_text_key_list | 0 .../bt/template_catalog_keyword_key_list | 0 .../bt/template_catalog_local_role_key_list | 0 .../bt/template_catalog_method_id_list | 0 .../bt/template_catalog_multivalue_key_list | 0 .../bt/template_catalog_related_key_list | 0 .../bt/template_catalog_request_key_list | 0 .../bt/template_catalog_result_key_list | 0 .../bt/template_catalog_result_table_list | 0 .../bt/template_catalog_role_key_list | 0 .../bt/template_catalog_scriptable_key_list | 0 .../bt/template_catalog_topic_key_list | 0 .../bt/template_constraint_id_list | 0 .../bt/template_document_id_list | 0 .../bt/template_extension_id_list | 1 + .../bt/template_format_version | 1 + .../bt/template_local_role_list | 0 .../bt/template_local_roles_list | 0 .../bt/template_message_translation_list | 0 .../bt/template_module_id_list | 1 + .../bt/template_path_list | 0 ...late_portal_type_allowed_content_type_list | 1 + .../template_portal_type_base_category_list | 1 + ...plate_portal_type_hidden_content_type_list | 0 .../bt/template_portal_type_id_list | 2 + .../template_portal_type_property_sheet_list | 1 + .../bt/template_portal_type_role_list | 0 .../bt/template_portal_type_roles_list | 0 .../template_portal_type_workflow_chain_list | 2 + .../bt/template_preference_list | 0 .../bt/template_product_id_list | 0 .../bt/template_property_sheet_id_list | 0 .../template_registered_skin_selection_list | 0 .../bt/template_role_list | 0 .../bt/template_site_property_id_list | 0 .../bt/template_skin_id_list | 1 + .../bt/template_test_id_list | 0 .../bt/template_tool_id_list | 0 ...template_update_business_template_workflow | 1 + .../bt/template_update_tool | 1 + .../bt/template_workflow_id_list | 1 + .../erp5_data_protection/bt/title | 1 + .../erp5_data_protection/bt/version | 0 117 files changed, 7684 insertions(+) create mode 100644 bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request%20Module/view.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/view.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/ExtensionTemplateItem/DataProtectionRequestUtils.py create mode 100644 bt5/erp5_data_migration/erp5_data_protection/ModuleTemplateItem/data_protection_request_module.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/PortalTypeBaseCategoryTemplateItem/base_category_list.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/PortalTypePropertySheetTemplateItem/property_sheet_list.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request%20Module.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_addDataProtectionRequest.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_getErasablePropertyList.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_purgeWorkflowHistoryCommentList.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_updatePropertyMapListWithFieldLabel.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog/your_description.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_eraseSomeOriginalData.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_contributor_title.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_description.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_follow_up_title.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_owner.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_reference.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_text_content.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_title.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_translated_validation_state_title.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/listbox.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_flush_worklfow_history_comment.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_follow_title.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/scripts.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/action.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/actor.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/comment.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/error_message.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/history.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/portal_type.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/time.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/worklists.xml create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/categories_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/change_log create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/comment create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/copyright_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/dependency_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/description create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/license create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/maintainer_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/provision_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/revision create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_action_path_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_base_category_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_datetime_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_full_text_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_keyword_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_local_role_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_method_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_multivalue_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_related_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_request_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_result_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_result_table_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_role_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_scriptable_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_topic_key_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_constraint_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_document_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_extension_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_format_version create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_local_role_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_local_roles_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_message_translation_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_module_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_path_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_allowed_content_type_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_base_category_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_hidden_content_type_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_property_sheet_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_role_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_roles_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_workflow_chain_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_preference_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_product_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_property_sheet_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_registered_skin_selection_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_role_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_site_property_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_skin_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_test_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_tool_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_update_business_template_workflow create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_update_tool create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/template_workflow_id_list create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/title create mode 100644 bt5/erp5_data_migration/erp5_data_protection/bt/version diff --git a/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request%20Module/view.xml b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request%20Module/view.xml new file mode 100644 index 0000000000..318580ee45 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request%20Module/view.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>action_type/object_list</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_list</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Action Information</string> </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DataProtectionRequestModule_viewDataProtectionRequestList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml new file mode 100644 index 0000000000..69a2dbf315 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/erase_some_original_data.xml @@ -0,0 +1,109 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>action_type/object_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erase_some_original_data</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Action Information</string> </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Erase some original data</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DataProtectionRequest_viewEraseSomeOriginalDataDialog?reset:int=1</string> </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.getValidationState() in (\'submitted\', \'open\')</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/view.xml b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/view.xml new file mode 100644 index 0000000000..6e9802ea7d --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/Data%20Protection%20Request/view.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>action_type/object_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Action Information</string> </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DataProtectionRequest_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml new file mode 100644 index 0000000000..17aa34f91e --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/ActionTemplateItem/portal_types/portal_actions/raise_data_protection_request.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>raise_data_protection_request</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>5.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Raise Data Protection Request</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewRaiseDataProtectionRequestDialog</string> </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: portal.Base_checkPermission(\'data_protection_request_module\', \'Add portal content\')</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/ExtensionTemplateItem/DataProtectionRequestUtils.py b/bt5/erp5_data_migration/erp5_data_protection/ExtensionTemplateItem/DataProtectionRequestUtils.py new file mode 100644 index 0000000000..6abc69f4d2 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/ExtensionTemplateItem/DataProtectionRequestUtils.py @@ -0,0 +1,81 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2008-2010 Nexedi SA and Contributors. All Rights Reserved. +# Nicolas Delaby <nicolas@nexedi.com> +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +from Products.ERP5Type.Utils import createExpressionContext +from Products.ERP5Form.FormBox import FormBox +from urlparse import urlparse + +def Base_updatePropertyMapListWithFieldLabel(self, property_map_list): + """Try to get the title of field which edit the given inside property_map_list + - This script loopup portal_type, then list actions of type view + - Fetch the form by parsing url + - list fields, and get the field label + - update the dictionary and return the list of updated dictionaries. + """ + def getLabelFromForm(form, property_id): + for field in form.get_fields(): + if isinstance(field, FormBox): + # Special use case for FormBox + delegated_form_id = field.get_value('formbox_target_id') + form_box = getattr(field, delegated_form_id) + label = getLabelFromForm(form_box, property_id) + if label: + return label + if 'my_%s' % property_id == field.id: + label = field.get_value('title') + return label + portal = self.getPortalObject() + result_list = [] + portal_type = self.getPortalType() + portal_type_object = portal.portal_types[portal_type] + action_view_url_list = [action.getAction() for action in \ + portal_type_object.getActionInformationList() \ + if 'view' in action.getActionType()] + action_url_list = [action_view_url(createExpressionContext(self))\ + for action_view_url in action_view_url_list] + form_id_list = [urlparse(action_url)[2].replace('%s/' % self.getPath(), '') \ + for action_url in action_url_list] + for property_map in property_map_list: + label = None + for form_id in form_id_list: + form = getattr(portal, form_id) + if form.meta_type != 'ERP5 Form': + continue + label = getLabelFromForm(form, property_map['id']) + if label: + property_map['label'] = label + break + result_list.append(property_map) + return tuple(result_list) + +def Base_purgeWorkflowHistoryCommentList(self): + """Delete all comment in wokflow history stored on document. + """ + for workflow_id in self.workflow_history: + [history.update({'comment': None}) for history in self.workflow_history[workflow_id]] diff --git a/bt5/erp5_data_migration/erp5_data_protection/ModuleTemplateItem/data_protection_request_module.xml b/bt5/erp5_data_migration/erp5_data_protection/ModuleTemplateItem/data_protection_request_module.xml new file mode 100644 index 0000000000..cb627f0f71 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/ModuleTemplateItem/data_protection_request_module.xml @@ -0,0 +1,96 @@ +<module> + <id>data_protection_request_module</id> + <permission_list> + <permission type='tuple'> + <name>Access Transient Objects</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Access contents information</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Access session data</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add portal content</name> + <role>Assignor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add portal folders</name> + <role>Assignor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change local roles</name> + <role>Assignor</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Copy or Move</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Delete objects</name> + <role>Assignor</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>List folder contents</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Modify portal content</name> + <role>Assignor</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>View</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>View History</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + </permission> + </permission_list> + <portal_type>Data Protection Request Module</portal_type> + <title>Data Protection Requests</title> +</module> \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml new file mode 100644 index 0000000000..c657700031 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -0,0 +1,5 @@ +<allowed_content_type_list> + <portal_type id="Data Protection Request Module"> + <item>Data Protection Request</item> + </portal_type> +</allowed_content_type_list> \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeBaseCategoryTemplateItem/base_category_list.xml new file mode 100644 index 0000000000..fa145eeba8 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -0,0 +1,5 @@ +<base_category_list> + <portal_type id="Data Protection Request Module"> + <item>business_application</item> + </portal_type> +</base_category_list> \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_data_migration/erp5_data_protection/PortalTypePropertySheetTemplateItem/property_sheet_list.xml new file mode 100644 index 0000000000..2454a2b48f --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -0,0 +1,5 @@ +<property_sheet_list> + <portal_type id="Data Protection Request"> + <item>TextDocument</item> + </portal_type> +</property_sheet_list> \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request%20Module.xml b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request%20Module.xml new file mode 100644 index 0000000000..dbe9de8caf --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request%20Module.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>folder_icon.gif</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>\n + A Folder is a subclass of Base but not of XMLObject.\n + Folders are not considered as documents and are therefore\n + not synchronisable.\n +\n + ERP5 folders are implemented as CMFBTreeFolder objects\n + and can store up to a million documents on a standard\n + computer.\n + ERP5 folders will eventually use in the near future the\n + AdaptableStorage implementation in order to reach performances\n + of 10 or 100 millions of documents in a single folder.\n +\n + ERP5 folders include an automatic id generation feature\n + which allows user not to define an id when they create\n + a new document in a folder.\n +\n + ERP5 folders use the ZSQLCatalog to search for objects\n + or display content. This requires a method called\n + *z_search_folder* to be put inside the ZSQLCatalog object\n + of the ERP5 portal.\n +\n + An ERP5 Binder document class will eventually be defined\n + in order to implement a binder of documents which can itself\n + be categorized.\n + </string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addFolder</string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple> + <string>module</string> + </tuple> + </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string>document_icon.gif</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Data Protection Request Module</string> </value> + </item> + <item> + <key> <string>immediate_view</string> </key> + <value> <string>Folder_view</string> </value> + </item> + <item> + <key> <string>meta_type</string> </key> + <value> <string>ERP5 Folder</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Type</string> </value> + </item> + <item> + <key> <string>product</string> </key> + <value> <string>ERP5Type</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request.xml b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request.xml new file mode 100644 index 0000000000..40065b2f0c --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeTemplateItem/portal_types/Data%20Protection%20Request.xml @@ -0,0 +1,118 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Handle requests to delete content on documents</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addTextDocument</string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string>document_icon.gif</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Data Protection Request</string> </value> + </item> + <item> + <key> <string>immediate_view</string> </key> + <value> <string>XMLObject_view</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>meta_type</string> </key> + <value> <string>ERP5 XML Object</string> </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Type</string> </value> + </item> + <item> + <key> <string>product</string> </key> + <value> <string>ERP5Type</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_content</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml new file mode 100644 index 0000000000..3dc41ab2f5 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -0,0 +1,6 @@ +<workflow_chain> + <chain> + <type>Data Protection Request</type> + <workflow>data_protection_request_workflow, edit_workflow</workflow> + </chain> +</workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection.xml new file mode 100644 index 0000000000..5afefd6768 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection.xml @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Folder" module="OFS.Folder"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_data_protection</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_addDataProtectionRequest.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_addDataProtectionRequest.xml new file mode 100644 index 0000000000..070ecb78c2 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_addDataProtectionRequest.xml @@ -0,0 +1,154 @@ +<?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>portal = context.getPortalObject()\n +portal_type = \'Data Protection Request\'\n +module = portal.getDefaultModule(portal_type)\n +current_user = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n +title = \'%s: %s - %s\' % (current_user is not None and current_user.getTitle() or \'\',\n + context.getTitle(),\n + getattr(context, \'getReference\', lambda x:x)(\'\'),)\n +\n +reference_index = portal.portal_ids.generateNewId(id_group=(\'data_protection_request\'), default=1)\n +reference = \'DPR-%s\' % (reference_index,)\n +data_protection = module.newContent(portal_type=portal_type,\n + contributor_value=current_user,\n + follow_up_value=context,\n + description=description,\n + reference=reference,\n + title=title)\n +\n +msg = portal.Base_translateString(\'New data protection request added.\')\n +return data_protection.Base_redirect(\'DataProtectionRequest_view\', keep_items={\'portal_status_message\': msg}, **kw)\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>description, **kw</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>description</string> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>portal_type</string> + <string>module</string> + <string>current_user</string> + <string>None</string> + <string>getattr</string> + <string>title</string> + <string>reference_index</string> + <string>reference</string> + <string>data_protection</string> + <string>msg</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>Base_addDataProtectionRequest</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_getErasablePropertyList.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_getErasablePropertyList.xml new file mode 100644 index 0000000000..3c570977d8 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_getErasablePropertyList.xml @@ -0,0 +1,175 @@ +<?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>from Products.ERP5Type.Document import newTempBase\n +portal = context.getPortalObject()\n +document_to_inspect = context.getFollowUpValue()\n +property_map_list = document_to_inspect.getPropertyMap()\n +\n +def filterPropertyMapList(property_map):\n + # Keep only some kind of properties\n + # We assume that categories, dates, and numerical values\n + # doesn\'t carry compromising data\n + restricted_property_list = (\'id\', \'rid\', \'id_group\',\n + \'id_generator\', \'last_id\',)\n + return property_map[\'type\'] in (\'string\', \'data\', \'text\',) and \\\n + property_map[\'id\'] not in restricted_property_list and \\\n + document_to_inspect.getProperty(property_map[\'id\'])\n +\n +property_map_list = filter(filterPropertyMapList, property_map_list)\n +property_map_list = document_to_inspect.Base_updatePropertyMapListWithFieldLabel(property_map_list)\n +\n +MAX_LENGHT = 25\n +listbox_object_list = []\n +for index, property_map in enumerate(property_map_list):\n + temp_object = newTempBase(portal, \'temp%s\' % (index,))\n + try:\n + property_value = unicode(document_to_inspect.getProperty(property_map[\'id\']), \'utf-8\')[:MAX_LENGHT]\n + except UnicodeDecodeError:\n + property_value = \'Not viewable: binary content\'\n +\n + temp_object.edit(uid=property_map[\'id\'],\n + property_id=property_map[\'id\'],\n + property_label=portal.Base_translateString(property_map.get(\'label\', \'\')),\n + property_description=portal.Base_translateString(property_map.get(\'description\', \'\')),\n + property_value=property_value)\n + listbox_object_list.append(temp_object)\n +\n +return listbox_object_list\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>**kw</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>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>Products.ERP5Type.Document</string> + <string>newTempBase</string> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>document_to_inspect</string> + <string>property_map_list</string> + <string>filterPropertyMapList</string> + <string>filter</string> + <string>MAX_LENGHT</string> + <string>listbox_object_list</string> + <string>_getiter_</string> + <string>enumerate</string> + <string>index</string> + <string>property_map</string> + <string>temp_object</string> + <string>_getitem_</string> + <string>unicode</string> + <string>property_value</string> + <string>UnicodeDecodeError</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>Base_getErasablePropertyList</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_purgeWorkflowHistoryCommentList.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_purgeWorkflowHistoryCommentList.xml new file mode 100644 index 0000000000..57d97ce077 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_purgeWorkflowHistoryCommentList.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_function</string> </key> + <value> <string>Base_purgeWorkflowHistoryCommentList</string> </value> + </item> + <item> + <key> <string>_module</string> </key> + <value> <string>DataProtectionRequestUtils</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Base_purgeWorkflowHistoryCommentList</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_updatePropertyMapListWithFieldLabel.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_updatePropertyMapListWithFieldLabel.xml new file mode 100644 index 0000000000..b7d136801a --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_updatePropertyMapListWithFieldLabel.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_function</string> </key> + <value> <string>Base_updatePropertyMapListWithFieldLabel</string> </value> + </item> + <item> + <key> <string>_module</string> </key> + <value> <string>DataProtectionRequestUtils</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Base_updatePropertyMapListWithFieldLabel</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog.xml new file mode 100644 index 0000000000..8f1ae22138 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog.xml @@ -0,0 +1,155 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_addDataProtectionRequest</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>your_description</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Base_viewRaiseDataProtectionRequestDialog</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>Base_viewRaiseDataProtectionRequestDialog</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_dialog</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Raise Data Protection Request</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog/your_description.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog/your_description.xml new file mode 100644 index 0000000000..66eecb90de --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/Base_viewRaiseDataProtectionRequestDialog/your_description.xml @@ -0,0 +1,283 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="TextAreaField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>your_description</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>5</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Request Protection</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>40</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml new file mode 100644 index 0000000000..8de87a3aee --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml @@ -0,0 +1,155 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_doSelect</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>DataProtectionRequestModule_viewDataProtectionRequestList</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>DataProtectionRequestModule_viewDataProtectionRequestList</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_list</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Data Protection Requests</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml new file mode 100644 index 0000000000..477e1a0be0 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml @@ -0,0 +1,187 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>columns</string> + <string>portal_types</string> + <string>search_columns</string> + <string>selection_name</string> + <string>sort_columns</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Type</string> + </tuple> + <tuple> + <string>description</string> + <string>Request Description</string> + </tuple> + <tuple> + <string>translated_validation_state_title</string> + <string>State</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_list_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Data Protection Request</string> + <string>Data Protection Request</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list> + <tuple> + <string>Data Protection Request</string> + <string>Data Protection Request</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Type</string> + </tuple> + <tuple> + <string>description</string> + <string>Request Description</string> + </tuple> + <tuple> + <string>translated_validation_state_title</string> + <string>State</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>data_protection_request_module_selection</string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Type</string> + </tuple> + <tuple> + <string>description</string> + <string>Request Description</string> + </tuple> + <tuple> + <string>translated_validation_state_title</string> + <string>State</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Data Protection Requests</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_eraseSomeOriginalData.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_eraseSomeOriginalData.xml new file mode 100644 index 0000000000..fc4f478808 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_eraseSomeOriginalData.xml @@ -0,0 +1,174 @@ +<?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>portal = context.getPortalObject()\n +selection_name = \'data_protection_request_erase_data_selection\'\n +property_id_list = portal.portal_selections.getSelectionCheckedUidsFor(selection_name)\n +# clean up selection\n +portal.portal_selections.setSelectionCheckedUidsFor(selection_name, ())\n +document_to_cleanup = context.getFollowUpValue()\n +clean_up_done = False\n +\n +# First: Purge workflow history comments\n +if flush_worklfow_history_comment:\n + document_to_cleanup.Base_purgeWorkflowHistoryCommentList()\n + edit_message = portal.Base_translateString(\'Workflow comments deleted by data protection manager\')\n + portal.portal_workflow.doActionFor(document_to_cleanup, \'edit_action\', comment=edit_message)\n + clean_up_done = True\n +\n +# Second: erase properties\n +if property_id_list:\n + edit_kw = {}\n + [edit_kw.update({property_id: None}) for property_id in property_id_list]\n +\n + edit_message = portal.Base_translateString(\'Properties deleted by data protection manager: ${items}\',\n + mapping={\'items\': \', \'.join(property_id_list)})\n + portal.portal_workflow.doActionFor(document_to_cleanup, \'edit_action\', comment=edit_message)\n + document_to_cleanup.edit(**edit_kw)\n + clean_up_done = True\n +\n +if clean_up_done:\n + msg = portal.Base_translateString(\'Data erased.\')\n + # Then remove \'View History\' permission to everyone except manager\n + document_to_cleanup.manage_permission(\'View History\', [\'Manager\'], 0)\n +else:\n + msg = portal.Base_translateString(\'No change occurs.\')\n +\n +return context.Base_redirect(form_id, keep_items={\'portal_status_message\': msg}, **kw)\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>form_id, flush_worklfow_history_comment, **kw</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>2</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>form_id</string> + <string>flush_worklfow_history_comment</string> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>selection_name</string> + <string>property_id_list</string> + <string>document_to_cleanup</string> + <string>False</string> + <string>clean_up_done</string> + <string>edit_message</string> + <string>True</string> + <string>edit_kw</string> + <string>append</string> + <string>$append0</string> + <string>_getiter_</string> + <string>property_id</string> + <string>None</string> + <string>_apply_</string> + <string>msg</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>DataProtectionRequest_eraseSomeOriginalData</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view.xml new file mode 100644 index 0000000000..41ed2d4d17 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view.xml @@ -0,0 +1,165 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_edit</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>my_description</string> + </list> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list> + <string>my_text_content</string> + <string>my_owner</string> + </list> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>my_title</string> + <string>my_reference</string> + <string>my_follow_up_title</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list> + <string>my_contributor_title</string> + <string>my_translated_validation_state_title</string> + </list> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>DataProtectionRequest_view</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>DataProtectionRequest_view</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Data Protection Request</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_contributor_title.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_contributor_title.xml new file mode 100644 index 0000000000..edb62e1cb0 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_contributor_title.xml @@ -0,0 +1,552 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="RelationStringField" module="Products.ERP5Form.RelationField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_contributor_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>relation_result_ambiguous</string> </key> + <value> <string>Select appropriate document in the list.</string> </value> + </item> + <item> + <key> <string>relation_result_empty</string> </key> + <value> <string>No such document was found.</string> </value> + </item> + <item> + <key> <string>relation_result_too_long</string> </key> + <value> <string>Too many documents were found.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>proxy_listbox_ids</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>proxy_listbox_ids</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string>contributor</string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string>title</string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string>Base_jumpToRelatedDocument</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Person</string> + <string>Person</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>proxy_listbox_ids</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>relation_form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Requester</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string>Base_validateRelation</string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_description.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_description.xml new file mode 100644 index 0000000000..5951858272 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_description.xml @@ -0,0 +1,304 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="TextAreaField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_description</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Description of the query</string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Request Description</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>80</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.TALESField</string> + <string>TALESMethod</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python:here.getValidationState() == \'draft\'</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_follow_up_title.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_follow_up_title.xml new file mode 100644 index 0000000000..6b3035e52b --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_follow_up_title.xml @@ -0,0 +1,570 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="RelationStringField" module="Products.ERP5Form.RelationField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_follow_up_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>relation_result_ambiguous</string> </key> + <value> <string>Select appropriate document in the list.</string> </value> + </item> + <item> + <key> <string>relation_result_empty</string> </key> + <value> <string>No such document was found.</string> </value> + </item> + <item> + <key> <string>relation_result_too_long</string> </key> + <value> <string>Too many documents were found.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>proxy_listbox_ids</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>proxy_listbox_ids</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>allow_creation</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string>follow_up</string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string>title</string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>container_getter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string>Base_jumpToRelatedDocument</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>All portal_types</string> + <string>All portal_types</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>proxy_listbox_ids</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>relation_form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Follow Up</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_method</string> </key> + <value> <string>Base_validateRelation</string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: [(portal_type_id, portal_type_id) for portal_type_id in here.getPortalObject().portal_types.objectIds()]</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_owner.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_owner.xml new file mode 100644 index 0000000000..bde01ac35c --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_owner.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_owner</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Owner</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_reference.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_reference.xml new file mode 100644 index 0000000000..33cce2de56 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_reference.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_reference</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Reference</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_text_content.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_text_content.xml new file mode 100644 index 0000000000..2e8892d1fb --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_text_content.xml @@ -0,0 +1,283 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="TextAreaField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_text_content</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The text content of an answer to a query</string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Answer</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>80</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_title.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_title.xml new file mode 100644 index 0000000000..6b82ce9ff2 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_title.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Title</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_translated_validation_state_title.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_translated_validation_state_title.xml new file mode 100644 index 0000000000..0c03d503d7 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_view/my_translated_validation_state_title.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_translated_validation_state_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>State</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog.xml new file mode 100644 index 0000000000..aa927064e6 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>DataProtectionRequest_eraseSomeOriginalData</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>your_flush_worklfow_history_comment</string> + </list> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>your_follow_title</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>DataProtectionRequest_viewEraseSomeOriginalDataDialog</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>DataProtectionRequest_viewEraseSomeOriginalDataDialog</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_dialog</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Erase Some Original Data</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/listbox.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/listbox.xml new file mode 100644 index 0000000000..8d3f99cb45 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/listbox.xml @@ -0,0 +1,564 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ListBox" module="Products.ERP5Form.ListBox"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>anchor</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hide_rows_on_no_search_criterion</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>row_css_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>untranslatable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>anchor</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hide_rows_on_no_search_criterion</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>row_css_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>untranslatable_columns</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>all_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>anchor</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>property_id</string> + <string>Id</string> + </tuple> + <tuple> + <string>property_label</string> + <string>Label</string> + </tuple> + <tuple> + <string>property_description</string> + <string>Description</string> + </tuple> + <tuple> + <string>property_value</string> + <string>Actual Value</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default_params</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>domain_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>domain_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>editable_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>global_attributes</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>hide_rows_on_no_search_criterion</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>lines</string> </key> + <value> <int>50</int> </value> + </item> + <item> + <key> <string>list_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>meta_types</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>page_template</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>report_root_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>report_tree</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>row_css_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>search</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>search_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>select</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>data_protection_request_erase_data_selection</string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>sort_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>stat_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Erasable properties</string> </value> + </item> + <item> + <key> <string>untranslatable_columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>Base_getErasablePropertyList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_flush_worklfow_history_comment.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_flush_worklfow_history_comment.xml new file mode 100644 index 0000000000..9b7a795f66 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_flush_worklfow_history_comment.xml @@ -0,0 +1,171 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="CheckBoxField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>your_flush_worklfow_history_comment</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Flush Workflow History Comments</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_follow_title.xml b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_follow_title.xml new file mode 100644 index 0000000000..3233c75b03 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequest_viewEraseSomeOriginalDataDialog/your_follow_title.xml @@ -0,0 +1,281 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>your_follow_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>Too much input was given.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>80</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Follow Up</string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python:\'%s - %s - %s\' % (here.getFollowUpValue().getTranslatedPortalType(), here.getFollowUpReference() or \'\', here.getFollowUpTitle())</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow.xml new file mode 100644 index 0000000000..b495d5737b --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow.xml @@ -0,0 +1,69 @@ +<?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></string> </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>data_protection_request_workflow</string> </value> + </item> + <item> + <key> <string>initial_state</string> </key> + <value> <string>draft</string> </value> + </item> + <item> + <key> <string>manager_bypass</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Access contents information</string> + <string>View</string> + <string>Add portal content</string> + <string>Modify portal content</string> + <string>Delete objects</string> + </tuple> + </value> + </item> + <item> + <key> <string>state_var</string> </key> + <value> <string>validation_state</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Data protection request workflow</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/scripts.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/scripts.xml new file mode 100644 index 0000000000..ef17b83812 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/scripts.xml @@ -0,0 +1,25 @@ +<?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>id</string> </key> + <value> <string>scripts</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states.xml new file mode 100644 index 0000000000..a21bb6e959 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states.xml @@ -0,0 +1,31 @@ +<?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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml new file mode 100644 index 0000000000..5a28d9e431 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml @@ -0,0 +1,39 @@ +<?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>closed</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Closed</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml new file mode 100644 index 0000000000..088d88fb9e --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml @@ -0,0 +1,39 @@ +<?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>deleted</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Deleted</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml new file mode 100644 index 0000000000..478900f98d --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/draft.xml @@ -0,0 +1,44 @@ +<?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>draft</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Draft</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple> + <string>delete</string> + <string>delete_action</string> + <string>submit</string> + <string>submit_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml new file mode 100644 index 0000000000..f35ac864c3 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml @@ -0,0 +1,42 @@ +<?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>open</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Open</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple> + <string>close</string> + <string>close_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml new file mode 100644 index 0000000000..84aac42630 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml @@ -0,0 +1,44 @@ +<?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>submitted</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Submitted</string> </value> + </item> + <item> + <key> <string>transitions</string> </key> + <value> + <tuple> + <string>close</string> + <string>close_action</string> + <string>open</string> + <string>open_action</string> + </tuple> + </value> + </item> + <item> + <key> <string>type_list</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions.xml new file mode 100644 index 0000000000..092a5b48f6 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions.xml @@ -0,0 +1,31 @@ +<?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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close.xml new file mode 100644 index 0000000000..d4175c46a0 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close.xml @@ -0,0 +1,61 @@ +<?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>close</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>closed</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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml new file mode 100644 index 0000000000..52ce94d0ff --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/close_action.xml @@ -0,0 +1,61 @@ +<?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>Close</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=close_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>close</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>close_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Close</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete.xml new file mode 100644 index 0000000000..2b9bc536cc --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete.xml @@ -0,0 +1,61 @@ +<?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>delete</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>deleted</string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml new file mode 100644 index 0000000000..a048c54741 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/delete_action.xml @@ -0,0 +1,61 @@ +<?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>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=delete_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>delete_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Delete</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open.xml new file mode 100644 index 0000000000..26a4b8d119 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open.xml @@ -0,0 +1,61 @@ +<?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>open</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>open</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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml new file mode 100644 index 0000000000..7171bdbedb --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/open_action.xml @@ -0,0 +1,61 @@ +<?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>Open</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=open_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>open</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>open_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Open</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit.xml new file mode 100644 index 0000000000..2ff1dfd3f1 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit.xml @@ -0,0 +1,61 @@ +<?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>submit</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>submitted</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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml new file mode 100644 index 0000000000..473f4b2940 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/transitions/submit_action.xml @@ -0,0 +1,61 @@ +<?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>Submit</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=submit_action</string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>submit</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>submit_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables.xml new file mode 100644 index 0000000000..a067e6fbbe --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables.xml @@ -0,0 +1,31 @@ +<?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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/action.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/action.xml new file mode 100644 index 0000000000..b6ab718b6e --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/action.xml @@ -0,0 +1,67 @@ +<?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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/actor.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/actor.xml new file mode 100644 index 0000000000..63e83eebcc --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/actor.xml @@ -0,0 +1,67 @@ +<?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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/comment.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/comment.xml new file mode 100644 index 0000000000..0deee79ddd --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/comment.xml @@ -0,0 +1,67 @@ +<?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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/error_message.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/error_message.xml new file mode 100644 index 0000000000..ca8bd983f6 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/error_message.xml @@ -0,0 +1,51 @@ +<?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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/history.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/history.xml new file mode 100644 index 0000000000..33a2afbc9a --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/history.xml @@ -0,0 +1,67 @@ +<?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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/portal_type.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/portal_type.xml new file mode 100644 index 0000000000..d1c833ff18 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/portal_type.xml @@ -0,0 +1,51 @@ +<?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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/time.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/time.xml new file mode 100644 index 0000000000..624cc5038c --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/variables/time.xml @@ -0,0 +1,67 @@ +<?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> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </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_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/worklists.xml b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/worklists.xml new file mode 100644 index 0000000000..1f8b17b012 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/worklists.xml @@ -0,0 +1,25 @@ +<?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_data_migration/erp5_data_protection/bt/categories_list b/bt5/erp5_data_migration/erp5_data_protection/bt/categories_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/change_log b/bt5/erp5_data_migration/erp5_data_protection/bt/change_log new file mode 100644 index 0000000000..773a4d43f5 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/change_log @@ -0,0 +1 @@ +2010-02-26 nicolas \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/comment b/bt5/erp5_data_migration/erp5_data_protection/bt/comment new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/copyright_list b/bt5/erp5_data_migration/erp5_data_protection/bt/copyright_list new file mode 100644 index 0000000000..0c59757a1d --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/copyright_list @@ -0,0 +1 @@ +Copyright (c) 2005-2010 Nexedi SA \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/dependency_list b/bt5/erp5_data_migration/erp5_data_protection/bt/dependency_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/description b/bt5/erp5_data_migration/erp5_data_protection/bt/description new file mode 100644 index 0000000000..fdcf6a7c0e --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/description @@ -0,0 +1 @@ +Provide a delete functionality in ERP5 \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/license b/bt5/erp5_data_migration/erp5_data_protection/bt/license new file mode 100644 index 0000000000..3a3e12bcad --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/license @@ -0,0 +1 @@ +GPL \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/maintainer_list b/bt5/erp5_data_migration/erp5_data_protection/bt/maintainer_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/provision_list b/bt5/erp5_data_migration/erp5_data_protection/bt/provision_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/revision b/bt5/erp5_data_migration/erp5_data_protection/bt/revision new file mode 100644 index 0000000000..62f9457511 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/revision @@ -0,0 +1 @@ +6 \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_action_path_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_action_path_list new file mode 100644 index 0000000000..226e6ffcb4 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_action_path_list @@ -0,0 +1,4 @@ +Data Protection Request Module | view +Data Protection Request | erase_some_original_data +Data Protection Request | view +portal_actions | raise_data_protection_request \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_base_category_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_base_category_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_datetime_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_datetime_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_full_text_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_full_text_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_keyword_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_keyword_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_local_role_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_local_role_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_method_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_method_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_multivalue_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_multivalue_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_related_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_related_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_request_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_request_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_result_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_result_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_result_table_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_result_table_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_role_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_role_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_scriptable_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_scriptable_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_topic_key_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_catalog_topic_key_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_constraint_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_constraint_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_document_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_document_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_extension_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_extension_id_list new file mode 100644 index 0000000000..afb4014f45 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_extension_id_list @@ -0,0 +1 @@ +DataProtectionRequestUtils \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_format_version b/bt5/erp5_data_migration/erp5_data_protection/bt/template_format_version new file mode 100644 index 0000000000..56a6051ca2 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_local_role_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_local_role_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_local_roles_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_local_roles_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_message_translation_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_message_translation_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_module_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_module_id_list new file mode 100644 index 0000000000..8ff00b3b8d --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_module_id_list @@ -0,0 +1 @@ +data_protection_request_module \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_path_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_path_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_allowed_content_type_list new file mode 100644 index 0000000000..774c06d571 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_allowed_content_type_list @@ -0,0 +1 @@ +Data Protection Request Module | Data Protection Request \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_base_category_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_base_category_list new file mode 100644 index 0000000000..cc8a16aee7 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_base_category_list @@ -0,0 +1 @@ +Data Protection Request Module | business_application \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_hidden_content_type_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_id_list new file mode 100644 index 0000000000..13535e5541 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_id_list @@ -0,0 +1,2 @@ +Data Protection Request +Data Protection Request Module \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_property_sheet_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_property_sheet_list new file mode 100644 index 0000000000..5e1e75cbdb --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_property_sheet_list @@ -0,0 +1 @@ +Data Protection Request | TextDocument \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_role_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_role_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_roles_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_roles_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_workflow_chain_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_workflow_chain_list new file mode 100644 index 0000000000..e4fca4a267 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_portal_type_workflow_chain_list @@ -0,0 +1,2 @@ +Data Protection Request | data_protection_request_workflow +Data Protection Request | edit_workflow \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_preference_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_preference_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_product_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_product_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_property_sheet_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_property_sheet_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_registered_skin_selection_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_registered_skin_selection_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_role_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_role_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_site_property_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_site_property_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_skin_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_skin_id_list new file mode 100644 index 0000000000..1d072c19f9 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_skin_id_list @@ -0,0 +1 @@ +erp5_data_protection \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_test_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_test_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_tool_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_tool_id_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_update_business_template_workflow b/bt5/erp5_data_migration/erp5_data_protection/bt/template_update_business_template_workflow new file mode 100644 index 0000000000..c227083464 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_update_business_template_workflow @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_update_tool b/bt5/erp5_data_migration/erp5_data_protection/bt/template_update_tool new file mode 100644 index 0000000000..c227083464 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_update_tool @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/template_workflow_id_list b/bt5/erp5_data_migration/erp5_data_protection/bt/template_workflow_id_list new file mode 100644 index 0000000000..a722f753ab --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/template_workflow_id_list @@ -0,0 +1 @@ +data_protection_request_workflow \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/title b/bt5/erp5_data_migration/erp5_data_protection/bt/title new file mode 100644 index 0000000000..1d072c19f9 --- /dev/null +++ b/bt5/erp5_data_migration/erp5_data_protection/bt/title @@ -0,0 +1 @@ +erp5_data_protection \ No newline at end of file diff --git a/bt5/erp5_data_migration/erp5_data_protection/bt/version b/bt5/erp5_data_migration/erp5_data_protection/bt/version new file mode 100644 index 0000000000..e69de29bb2 -- 2.30.9