From b64a1f3261b7eea7563287b9bdbcb2b3897658f9 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Thu, 3 Apr 2008 14:41:45 +0000 Subject: [PATCH] * Add action for PDM preference view git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20294 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Preference/pdm_preference.xml | 83 +++++++++++++++++++ bt5/erp5_pdm/bt/revision | 2 +- bt5/erp5_pdm/bt/template_action_path_list | 1 + 3 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_pdm/ActionTemplateItem/portal_types/Preference/pdm_preference.xml diff --git a/bt5/erp5_pdm/ActionTemplateItem/portal_types/Preference/pdm_preference.xml b/bt5/erp5_pdm/ActionTemplateItem/portal_types/Preference/pdm_preference.xml new file mode 100644 index 0000000000..c1981ed342 --- /dev/null +++ b/bt5/erp5_pdm/ActionTemplateItem/portal_types/Preference/pdm_preference.xml @@ -0,0 +1,83 @@ +<?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>__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_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>pdm_preference</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage portal</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>6.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>PDM</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}/Preference_viewResourceData</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index 615be700b9..8bfa2f5ecd 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -85 \ No newline at end of file +86 \ No newline at end of file diff --git a/bt5/erp5_pdm/bt/template_action_path_list b/bt5/erp5_pdm/bt/template_action_path_list index 2380acbedf..2fc8227e52 100644 --- a/bt5/erp5_pdm/bt/template_action_path_list +++ b/bt5/erp5_pdm/bt/template_action_path_list @@ -7,6 +7,7 @@ Component | purchase_price_view Component | sale_price_view Component | view Component | view_flow_capacity +Preference | pdm_preference Product Individual Variation | history Product Individual Variation | metadata Product Individual Variation | print -- 2.30.9