From 9acc4ad7903368f31811eb83669987d4a484fd56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 7 Jun 2007 09:50:08 +0000
Subject: [PATCH] Set a title on trade_date categories

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14732 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_categories/trade_date/invoice.xml  | 17 +++++++++++++++--
 .../portal_categories/trade_date/order.xml    | 17 +++++++++++++++--
 .../trade_date/packing%20list.xml             | 19 +++++++++++++++++--
 bt5/erp5_trade/bt/revision                    |  2 +-
 4 files changed, 48 insertions(+), 7 deletions(-)

diff --git a/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/invoice.xml b/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/invoice.xml
index ee07832863..d917359e17 100644
--- a/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/invoice.xml
+++ b/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/invoice.xml
@@ -3,8 +3,11 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <global name="Category" module="Products.ERP5Type.Document.Category"/>
-        <tuple/>
+        <tuple>
+          <string>Products.ERP5Type.Document.Category</string>
+          <string>Category</string>
+        </tuple>
+        <none/>
       </tuple>
     </pickle>
     <pickle>
@@ -41,6 +44,12 @@
               </tuple>
             </value>
         </item>
+        <item>
+            <key> <string>codification</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>invoice</string> </value>
@@ -55,6 +64,10 @@
             <key> <string>portal_type</string> </key>
             <value> <string>Category</string> </value>
         </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Invoice</string> </value>
+        </item>
         <item>
             <key> <string>uid</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/order.xml b/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/order.xml
index 0725625edb..775ffc9cff 100644
--- a/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/order.xml
+++ b/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/order.xml
@@ -3,8 +3,11 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <global name="Category" module="Products.ERP5Type.Document.Category"/>
-        <tuple/>
+        <tuple>
+          <string>Products.ERP5Type.Document.Category</string>
+          <string>Category</string>
+        </tuple>
+        <none/>
       </tuple>
     </pickle>
     <pickle>
@@ -42,6 +45,12 @@
               </tuple>
             </value>
         </item>
+        <item>
+            <key> <string>codification</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>order</string> </value>
@@ -56,6 +65,10 @@
             <key> <string>portal_type</string> </key>
             <value> <string>Category</string> </value>
         </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Order</string> </value>
+        </item>
         <item>
             <key> <string>uid</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/packing%20list.xml b/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/packing%20list.xml
index 0906c83ab5..d14a02cdf7 100644
--- a/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/packing%20list.xml
+++ b/bt5/erp5_trade/PathTemplateItem/portal_categories/trade_date/packing%20list.xml
@@ -3,8 +3,11 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <global name="Category" module="Products.ERP5Type.Document.Category"/>
-        <tuple/>
+        <tuple>
+          <string>Products.ERP5Type.Document.Category</string>
+          <string>Category</string>
+        </tuple>
+        <none/>
       </tuple>
     </pickle>
     <pickle>
@@ -38,9 +41,17 @@
             <value>
               <tuple>
                 <string>trade_date/packing list</string>
+                <string>trade_date/packing list</string>
+                <string>trade_date/packing list</string>
               </tuple>
             </value>
         </item>
+        <item>
+            <key> <string>codification</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>packing list</string> </value>
@@ -55,6 +66,10 @@
             <key> <string>portal_type</string> </key>
             <value> <string>Category</string> </value>
         </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Packing List</string> </value>
+        </item>
         <item>
             <key> <string>uid</string> </key>
             <value>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 2fb681e3f9..3d9aebb2cc 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-71
\ No newline at end of file
+68
\ No newline at end of file
-- 
2.30.9