From 914f1560eeaba7309531b06d2f7154ebc26b4486 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 3 May 2007 09:35:00 +0000 Subject: [PATCH] Add missing actions on Task Report Module git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14322 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Task%20Report%20Module/csv_export.xml | 89 +++++++++++++++++++ .../Task%20Report%20Module/csv_import.xml | 89 +++++++++++++++++++ .../Task%20Report%20Module/list_ui.xml | 2 +- .../Task%20Report%20Module/print.xml | 89 +++++++++++++++++++ .../Task%20Report%20Module/sort_on.xml | 2 +- .../workflow_report.xml | 89 +++++++++++++++++++ bt5/erp5_project/bt/revision | 2 +- bt5/erp5_project/bt/template_action_path_list | 4 + 8 files changed, 363 insertions(+), 3 deletions(-) create mode 100644 bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/csv_export.xml create mode 100644 bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/csv_import.xml create mode 100644 bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/print.xml create mode 100644 bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/workflow_report.xml diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/csv_export.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/csv_export.xml new file mode 100644 index 0000000000..ffaadf57de --- /dev/null +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%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_project/ActionTemplateItem/portal_types/Task%20Report%20Module/csv_import.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/csv_import.xml new file mode 100644 index 0000000000..37dd929b1d --- /dev/null +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%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_project/ActionTemplateItem/portal_types/Task%20Report%20Module/list_ui.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/list_ui.xml index 319f5c5970..d1117f6032 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/list_ui.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/list_ui.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>3.0</float> </value> + <value> <float>11.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/print.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/print.xml new file mode 100644 index 0000000000..8614a6991d --- /dev/null +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/print.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_print</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>print</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>20.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Print</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_printPdf</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/sort_on.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/sort_on.xml index 844f84b37f..4b00418f4b 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/sort_on.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/sort_on.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>2.0</float> </value> + <value> <float>10.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/workflow_report.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%20Module/workflow_report.xml new file mode 100644 index 0000000000..9a0c191ba8 --- /dev/null +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Task%20Report%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_project/bt/revision b/bt5/erp5_project/bt/revision index 1c5fd036ef..dd4a90065c 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -252 \ No newline at end of file +254 \ No newline at end of file diff --git a/bt5/erp5_project/bt/template_action_path_list b/bt5/erp5_project/bt/template_action_path_list index 8bbad8bfd5..3293104d9e 100644 --- a/bt5/erp5_project/bt/template_action_path_list +++ b/bt5/erp5_project/bt/template_action_path_list @@ -94,12 +94,16 @@ Task Report Line | price_view Task Report Line | print Task Report Line | quantity_view Task Report Line | view +Task Report Module | csv_export +Task Report Module | csv_import Task Report Module | icalendar_export Task Report Module | list_ui Task Report Module | planning_report +Task Report Module | print Task Report Module | search Task Report Module | sort_on Task Report Module | view +Task Report Module | workflow_report Task Report | expense_view Task Report | history Task Report | jump_to_related_invoice -- 2.30.9