From e156a100d68a435220ee23042c8bb6bb69ab2985 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 17 Apr 2008 17:28:47 +0000
Subject: [PATCH] missing action

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20630 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Discount%20Line/view.xml     | 83 +++++++++++++++++++
 bt5/erp5_trade/bt/revision                    |  2 +-
 bt5/erp5_trade/bt/template_action_path_list   |  1 +
 3 files changed, 85 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Discount%20Line/view.xml

diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Discount%20Line/view.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Discount%20Line/view.xml
new file mode 100644
index 0000000000..80cb862866
--- /dev/null
+++ b/bt5/erp5_trade/ActionTemplateItem/portal_types/Discount%20Line/view.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>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}/DiscountLine_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 272a4581e9..059361f246 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-316
\ No newline at end of file
+317
\ No newline at end of file
diff --git a/bt5/erp5_trade/bt/template_action_path_list b/bt5/erp5_trade/bt/template_action_path_list
index 1ac8461e50..013b909a25 100644
--- a/bt5/erp5_trade/bt/template_action_path_list
+++ b/bt5/erp5_trade/bt/template_action_path_list
@@ -3,6 +3,7 @@ Container Line | view_quantity
 Container | view
 Delivery Cell | view
 Delivery Rule | view
+Discount Line | view
 Discount Model Line | view
 Discount Module | view
 Discount | view
-- 
2.30.9