From f41b96ee1ddaf7ef0cca14652e67c9ad978724ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 30 Nov 2007 15:05:17 +0000
Subject: [PATCH] define init script to set source/dest thus document is
 reindexed in stock

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17923 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Bank%20Account%20Inventory.xml               | 4 ++++
 bt5/erp5_banking_inventory/bt/revision                        | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory.xml b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory.xml
index ea318e3dde..758db7868f 100644
--- a/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory.xml
+++ b/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory.xml
@@ -95,6 +95,10 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
+            <value> <string>BankAccountInventory_init</string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
             <value> <string></string> </value>
         </item>
         <item>
diff --git a/bt5/erp5_banking_inventory/bt/revision b/bt5/erp5_banking_inventory/bt/revision
index 3f10ffe7a4..8e2afd3427 100644
--- a/bt5/erp5_banking_inventory/bt/revision
+++ b/bt5/erp5_banking_inventory/bt/revision
@@ -1 +1 @@
-15
\ No newline at end of file
+17
\ No newline at end of file
-- 
2.30.9