From bb479206db4125940a9e825f6c510d6f069854dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 5 Aug 2010 09:28:14 +0000
Subject: [PATCH] this bt was duplicating apparel actions

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37516 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../apparel_fabric_item_fast_input.xml        | 85 -------------------
 .../apparel_fabric_item_fast_input.xml        | 85 -------------------
 bt5/erp5_trade/bt/template_action_path_list   |  2 -
 3 files changed, 172 deletions(-)
 delete mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Cell/apparel_fabric_item_fast_input.xml
 delete mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/apparel_fabric_item_fast_input.xml

diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Cell/apparel_fabric_item_fast_input.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Cell/apparel_fabric_item_fast_input.xml
deleted file mode 100644
index f88cb32942..0000000000
--- a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Cell/apparel_fabric_item_fast_input.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_exchange</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_exchange</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>apparel_fabric_item_fast_input</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>Modify portal content</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>5.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Apparel Fabric Item Fast Input</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}/ApparelFabricItem_viewFastInput </string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/apparel_fabric_item_fast_input.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/apparel_fabric_item_fast_input.xml
deleted file mode 100644
index 90ce8a6177..0000000000
--- a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/apparel_fabric_item_fast_input.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_exchange</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_exchange</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>apparel_fabric_item_fast_input</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>Modify portal content</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>7.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Apparel Fabric Item Fast Input</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>0</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}/ApparelFabricItem_viewFastInput </string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_trade/bt/template_action_path_list b/bt5/erp5_trade/bt/template_action_path_list
index d61802fe8b..ca4a08cfe8 100644
--- a/bt5/erp5_trade/bt/template_action_path_list
+++ b/bt5/erp5_trade/bt/template_action_path_list
@@ -81,9 +81,7 @@ Purchase Order | view
 Purchase Order | view_stock
 Purchase Order | view_trade_model
 Purchase Order | view_trade_model_line_list
-Purchase Packing List Cell | apparel_fabric_item_fast_input
 Purchase Packing List Cell | view
-Purchase Packing List Line | apparel_fabric_item_fast_input
 Purchase Packing List Line | profile_view
 Purchase Packing List Line | quantity_view
 Purchase Packing List Line | view
-- 
2.30.9