From a23233fba81e6ab0b40ee2a8e2de7d499495bb73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 4 Mar 2010 08:03:42 +0000
Subject: [PATCH] list_ui and sort_on global actions are not needed on the
 portal type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33369 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Document%20Module/list_ui.xml             | 85 -------------------
 .../Document%20Module/sort_on.xml             | 85 -------------------
 bt5/erp5_dms/bt/revision                      |  2 +-
 bt5/erp5_dms/bt/template_action_path_list     |  2 -
 4 files changed, 1 insertion(+), 173 deletions(-)
 delete mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml
 delete mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml

diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml
deleted file mode 100644
index 31a815818a..0000000000
--- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>action_type/object_ui</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_ui</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </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>list_ui</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>10.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Modify UI</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>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Base_viewUIDialog</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml
deleted file mode 100644
index fd7a571f18..0000000000
--- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>action_type/object_sort</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_sort</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </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>sort_on</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>10.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Sort</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>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Folder_viewSortOnDialog</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 3430292e09..87b98496d9 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-1087
\ No newline at end of file
+1089
\ No newline at end of file
diff --git a/bt5/erp5_dms/bt/template_action_path_list b/bt5/erp5_dms/bt/template_action_path_list
index 5960baf016..7007c8c463 100644
--- a/bt5/erp5_dms/bt/template_action_path_list
+++ b/bt5/erp5_dms/bt/template_action_path_list
@@ -3,8 +3,6 @@ Document Ingestion Module | list
 Document Module | advanced_search
 Document Module | contribute_file
 Document Module | document_search
-Document Module | list_ui
-Document Module | sort_on
 Document Module | view
 Document Module | webdav
 Drawing | convert
-- 
2.30.9