From 3c934c83c9263a3204e7cee3c1f9a7adbe6f5a60 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 3 May 2007 09:12:20 +0000 Subject: [PATCH] Add missing actions on Event Module git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14319 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Event%20Module/csv_export.xml | 89 +++++++++++++++++++ .../Event%20Module/csv_import.xml | 89 +++++++++++++++++++ .../portal_types/Event%20Module/list_ui.xml | 89 +++++++++++++++++++ .../portal_types/Event%20Module/print_pdf.xml | 2 +- .../portal_types/Event%20Module/sort_on.xml | 89 +++++++++++++++++++ .../Event%20Module/workflow_report.xml | 89 +++++++++++++++++++ bt5/erp5_crm/bt/revision | 2 +- bt5/erp5_crm/bt/template_action_path_list | 5 ++ 8 files changed, 452 insertions(+), 2 deletions(-) create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_export.xml create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_import.xml create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/list_ui.xml create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/sort_on.xml create mode 100644 bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/workflow_report.xml diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_export.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_export.xml new file mode 100644 index 0000000000..ffaadf57de --- /dev/null +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_export.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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_exchange</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>csv_export</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>30.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Export Csv File</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_exportCsvFileForm</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_import.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_import.xml new file mode 100644 index 0000000000..37dd929b1d --- /dev/null +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/csv_import.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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_exchange</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>csv_import</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Add portal content</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>31.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Import Csv File</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_importCsvFileForm</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/list_ui.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/list_ui.xml new file mode 100644 index 0000000000..cf88522122 --- /dev/null +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/list_ui.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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_ui</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>list_ui</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>11.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Sort</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewUIDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/print_pdf.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/print_pdf.xml index b0419eaa7a..2f92110c4e 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/print_pdf.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/print_pdf.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>2.0</float> </value> + <value> <float>20.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/sort_on.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/sort_on.xml new file mode 100644 index 0000000000..4b00418f4b --- /dev/null +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/sort_on.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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_sort</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>sort_on</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>10.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Sort</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Folder_viewSortOnDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/workflow_report.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/workflow_report.xml new file mode 100644 index 0000000000..9a0c191ba8 --- /dev/null +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Event%20Module/workflow_report.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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_report</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>workflow_report</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>41.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Workflow Report</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Folder_generateWorkflowReportDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index 7d37386284..31ff414b74 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -45 \ No newline at end of file +48 \ No newline at end of file diff --git a/bt5/erp5_crm/bt/template_action_path_list b/bt5/erp5_crm/bt/template_action_path_list index 7bcf76770f..4f0480e7b6 100644 --- a/bt5/erp5_crm/bt/template_action_path_list +++ b/bt5/erp5_crm/bt/template_action_path_list @@ -1,6 +1,11 @@ +Event Module | csv_export +Event Module | csv_import +Event Module | list_ui Event Module | print_pdf Event Module | search +Event Module | sort_on Event Module | view +Event Module | workflow_report Incoming Fax | document_view Incoming Fax | history Incoming Fax | metadata -- 2.30.9