From d594bd1974c9a7c97c867cf30a2d792ae38c0ea7 Mon Sep 17 00:00:00 2001
From: Christophe Dumez <christophe@nexedi.com>
Date: Thu, 20 Jul 2006 09:18:27 +0000
Subject: [PATCH] - do not display subversion tab on 'replaced' business
 templates

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8621 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Business%20Template/commit.xml                 | 2 +-
 bt5/erp5_forge/bt/revision                                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_forge/ActionTemplateItem/portal_types/Business%20Template/commit.xml b/bt5/erp5_forge/ActionTemplateItem/portal_types/Business%20Template/commit.xml
index 18d05f368c..126301a429 100644
--- a/bt5/erp5_forge/ActionTemplateItem/portal_types/Business%20Template/commit.xml
+++ b/bt5/erp5_forge/ActionTemplateItem/portal_types/Business%20Template/commit.xml
@@ -102,7 +102,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python: here.getInstallationState() != \'installed\'</string> </value>
+            <value> <string>python: here.getInstallationState() != \'installed\' and here.getInstallationState() != \'replaced\'</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision
index c147342cbe..3ca9062a11 100644
--- a/bt5/erp5_forge/bt/revision
+++ b/bt5/erp5_forge/bt/revision
@@ -1 +1 @@
-81
\ No newline at end of file
+84
\ No newline at end of file
-- 
2.30.9