From 03c958b5d0e745986d0d88dd7b4c50f919b060d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 10 Aug 2007 12:35:11 +0000
Subject: [PATCH] remove duplicate action  Bank Account |
 jump_active_accounting_pref, it's also in erp5_accounting

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15597 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../jump_active_accounting_pref.xml           | 110 ------------------
 bt5/erp5_base/bt/revision                     |   2 +-
 bt5/erp5_base/bt/template_action_path_list    |   1 -
 3 files changed, 1 insertion(+), 112 deletions(-)
 delete mode 100644 bt5/erp5_base/ActionTemplateItem/portal_types/Bank%20Account/jump_active_accounting_pref.xml

diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Bank%20Account/jump_active_accounting_pref.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Bank%20Account/jump_active_accounting_pref.xml
deleted file mode 100644
index 0b10799245..0000000000
--- a/bt5/erp5_base/ActionTemplateItem/portal_types/Bank%20Account/jump_active_accounting_pref.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.ActionInformation</string>
-          <string>ActionInformation</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_jump</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>jump_active_accounting_pref</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>6.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Accounting Preference</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/AccountingTransactionModule_jumpToActiveAccountingPreference</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>python:portal.restrictedTraverse(\'accounting_module\', None) is not None</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision
index 50f0bcd375..0973804c41 100644
--- a/bt5/erp5_base/bt/revision
+++ b/bt5/erp5_base/bt/revision
@@ -1 +1 @@
-135
\ No newline at end of file
+137
\ No newline at end of file
diff --git a/bt5/erp5_base/bt/template_action_path_list b/bt5/erp5_base/bt/template_action_path_list
index 710a6a1462..f1a49bff69 100644
--- a/bt5/erp5_base/bt/template_action_path_list
+++ b/bt5/erp5_base/bt/template_action_path_list
@@ -18,7 +18,6 @@ Assignment | metadata
 Assignment | print_pdf
 Assignment | view
 Bank Account | history
-Bank Account | jump_active_accounting_pref
 Bank Account | metadata
 Bank Account | print_pdf
 Bank Account | view
-- 
2.30.9