From 23fd134ab620b19cb25e5ec6f5941bb63ac93ea9 Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Fri, 24 Sep 2010 14:07:49 +0000
Subject: [PATCH] 2010-09-24 arnaud.fontaine * Add action "Configure Property
 Sheets".

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38625 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_actions/property_sheet_tool.xml    | 71 +++++++++++++++++++
 .../ERP5/bootstrap/erp5_core/bt/change_log    |  3 +
 product/ERP5/bootstrap/erp5_core/bt/revision  |  2 +-
 .../erp5_core/bt/template_action_path_list    |  1 +
 4 files changed, 76 insertions(+), 1 deletion(-)
 create mode 100644 product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/property_sheet_tool.xml

diff --git a/product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/property_sheet_tool.xml b/product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/property_sheet_tool.xml
new file mode 100644
index 0000000000..8d1657463a
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/property_sheet_tool.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+    </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>global</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>property_sheet_tool</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>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Configure Property Sheets</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Expression" module="Products.CMFCore.Expression"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${portal_url}/portal_property_sheets/view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log
index d3cf4c4c89..c195c94c80 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_core/bt/change_log
@@ -1,3 +1,6 @@
+2010-09-24 arnaud.fontaine
+* Add action "Configure Property Sheets".
+
 2010-09-24 arnaud.fontaine
 * Add Portal Types and views for web-based Property Sheets.
 * Add elementary_type to portal_categories to represent Property Sheets types.
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 2dd4476308..a0ac2c52a3 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1724
\ No newline at end of file
+1725
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list b/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
index cb6f89c912..33d725865d 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_action_path_list
@@ -89,6 +89,7 @@ portal_actions | bt_tool
 portal_actions | category_tool
 portal_actions | create_module
 portal_actions | make_template
+portal_actions | property_sheet_tool
 portal_actions | types_tool
 portal_membership | login
 portal_membership | logout
-- 
2.30.9