From 7eca6e548232ea2f49098a05a673d13d5221cab2 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 9 Jul 2008 17:14:22 +0000
Subject: [PATCH] Set init scirpt on Portal Type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22411 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Internal%20Packing%20List%20Cell.xml         | 4 ++++
 .../portal_types/Internal%20Packing%20List%20Line.xml         | 4 ++++
 .../portal_types/Internal%20Packing%20List.xml                | 4 ++++
 bt5/erp5_trade/bt/revision                                    | 2 +-
 4 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Cell.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Cell.xml
index ff51ce7d31..09373a6442 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Cell.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Cell.xml
@@ -97,6 +97,10 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
+            <value> <string>DeliveryCell_init</string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
             <value> <string></string> </value>
         </item>
         <item>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Line.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Line.xml
index 16b5310a0f..24bcec570b 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Line.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Line.xml
@@ -106,6 +106,10 @@ a manufactured product, like a pen, a bicycle...</string> </value>
         </item>
         <item>
             <key> <string>init_script</string> </key>
+            <value> <string>DeliveryLine_init</string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
             <value> <string></string> </value>
         </item>
         <item>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List.xml
index c07b900c04..28bdf562e9 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List.xml
@@ -106,6 +106,10 @@ a manufactured product, like a pen, a bicycle...</string> </value>
         </item>
         <item>
             <key> <string>init_script</string> </key>
+            <value> <string>Delivery_generateReference</string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
             <value> <string></string> </value>
         </item>
         <item>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 97964b3fde..26f5507e83 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-422
\ No newline at end of file
+423
\ No newline at end of file
-- 
2.30.9