From 13984d76fd5ee7d92952010ea6e643499d878d5c Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 23 Feb 2010 10:15:26 +0000
Subject: [PATCH] add Delivery Root Simulation Rule's view action.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33005 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../view.xml                                  | 85 +++++++++++++++++++
 bt5/erp5_trade/bt/revision                    |  2 +-
 2 files changed, 86 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Delivery%20Root%20Simulation%20Rule/view.xml

diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Delivery%20Root%20Simulation%20Rule/view.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Delivery%20Root%20Simulation%20Rule/view.xml
new file mode 100644
index 0000000000..2b7a0e0ab4
--- /dev/null
+++ b/bt5/erp5_trade/ActionTemplateItem/portal_types/Delivery%20Root%20Simulation%20Rule/view.xml
@@ -0,0 +1,85 @@
+<?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>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}/Rule_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 2e947168c9..147d4e7f1d 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-844
\ No newline at end of file
+845
\ No newline at end of file
-- 
2.30.9