From 0b2604b8532b19b39e3ec26e4b96fa65fffd2ba0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 20 Jul 2009 15:20:18 +0000
Subject: [PATCH]  - add Stock tab to Purchase Order

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28107 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Purchase%20Order/view_stock.xml           | 77 +++++++++++++++++++
 bt5/erp5_trade/bt/revision                    |  2 +-
 2 files changed, 78 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/view_stock.xml

diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/view_stock.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/view_stock.xml
new file mode 100644
index 0000000000..e11a5e0a51
--- /dev/null
+++ b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order/view_stock.xml
@@ -0,0 +1,77 @@
+<?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>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_stock</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>5.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Stock</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}/Delivery_viewInventory</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 980f92ce8a..5b3e043c52 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-702
\ No newline at end of file
+703
\ No newline at end of file
-- 
2.30.9