From 2a899b3e5c9743e8b0881b5142c1d38eb9031e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 24 Aug 2009 08:37:56 +0000 Subject: [PATCH] remove references to Discount portal type git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28568 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Production%20Order/view_discount.xml | 77 ------------------- .../allowed_content_types.xml | 1 - bt5/erp5_mrp/bt/revision | 2 +- bt5/erp5_mrp/bt/template_action_path_list | 1 - bt5/erp5_mrp/bt/template_local_role_list | 0 ...late_portal_type_allowed_content_type_list | 1 - .../bt/template_portal_type_role_list | 0 7 files changed, 1 insertion(+), 81 deletions(-) delete mode 100644 bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Order/view_discount.xml create mode 100644 bt5/erp5_mrp/bt/template_local_role_list create mode 100644 bt5/erp5_mrp/bt/template_portal_type_role_list diff --git a/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Order/view_discount.xml b/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Order/view_discount.xml deleted file mode 100644 index d4178268ed..0000000000 --- a/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Order/view_discount.xml +++ /dev/null @@ -1,77 +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>category</string> </key> - <value> <string>object_view</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>view_discount</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>4.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Discount</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}/TradeCondition_viewDiscount</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_mrp/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_mrp/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index cb2c2123a6..969447f78c 100644 --- a/bt5/erp5_mrp/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_mrp/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -1,7 +1,6 @@ <allowed_content_type_list> <portal_type id="Production Order"> <item>Payment Condition</item> - <item>Discount</item> <item>Production Order Line</item> </portal_type> <portal_type id="Production Order Line"> diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision index 57db2e9786..5587802b4e 100644 --- a/bt5/erp5_mrp/bt/revision +++ b/bt5/erp5_mrp/bt/revision @@ -1 +1 @@ -404 \ No newline at end of file +405 \ No newline at end of file diff --git a/bt5/erp5_mrp/bt/template_action_path_list b/bt5/erp5_mrp/bt/template_action_path_list index 805a9f71f0..7e1e6c4fb7 100644 --- a/bt5/erp5_mrp/bt/template_action_path_list +++ b/bt5/erp5_mrp/bt/template_action_path_list @@ -15,7 +15,6 @@ Production Order | production_order_operation_consumption Production Order | production_order_planning Production Order | profile_view Production Order | view -Production Order | view_discount Production Order | view_stock Production Packing List Cell | view Production Packing List Line | option_view diff --git a/bt5/erp5_mrp/bt/template_local_role_list b/bt5/erp5_mrp/bt/template_local_role_list new file mode 100644 index 0000000000..e69de29bb2 diff --git a/bt5/erp5_mrp/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_mrp/bt/template_portal_type_allowed_content_type_list index 7f714225a2..cdc557bfad 100644 --- a/bt5/erp5_mrp/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_mrp/bt/template_portal_type_allowed_content_type_list @@ -6,7 +6,6 @@ Production Order Module | Production Order Production Order Rule | Category Divergence Tester Production Order Rule | Property Divergence Tester Production Order Rule | Quantity Divergence Tester -Production Order | Discount Production Order | Payment Condition Production Order | Production Order Line Production Packing List Line | Production Packing List Cell diff --git a/bt5/erp5_mrp/bt/template_portal_type_role_list b/bt5/erp5_mrp/bt/template_portal_type_role_list new file mode 100644 index 0000000000..e69de29bb2 -- 2.30.9