From 17d379c2052b78b914b908b251fb063ce877fa35 Mon Sep 17 00:00:00 2001
From: Alexandre Boeglin <alex@nexedi.com>
Date: Thu, 10 Apr 2008 17:48:19 +0000
Subject: [PATCH] Set portal type to Sale Order on
 SalePackingList_viewFieldLibrary/my_causality_title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20436 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../my_causality_title.xml                        | 15 ++++++++++++++-
 bt5/erp5_trade/bt/revision                        |  2 +-
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SalePackingList_viewFieldLibrary/my_causality_title.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SalePackingList_viewFieldLibrary/my_causality_title.xml
index f9a489e577..8cfc9b6cee 100644
--- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SalePackingList_viewFieldLibrary/my_causality_title.xml
+++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SalePackingList_viewFieldLibrary/my_causality_title.xml
@@ -12,7 +12,9 @@
         <item>
             <key> <string>delegated_list</string> </key>
             <value>
-              <list/>
+              <list>
+                <string>portal_type</string>
+              </list>
             </value>
         </item>
         <item>
@@ -80,6 +82,17 @@
                     <key> <string>form_id</string> </key>
                     <value> <string>PurchasePackingList_viewFieldLibrary</string> </value>
                 </item>
+                <item>
+                    <key>                 <string>portal_type</string> </key>
+                    <value>
+                      <list>
+                        <tuple>
+                          <string>Sale Order</string>
+                          <string>Sale Order</string>
+                        </tuple>
+                      </list>
+                    </value>
+                </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 104fcf5b4e..8d0003f466 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-243
\ No newline at end of file
+245
\ No newline at end of file
-- 
2.30.9