From fd309511b404bd184e7332c1774dd33824c4bfdb Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 18 Dec 2009 10:22:21 +0000
Subject: [PATCH] this part is no longer required.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31385 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testERP5Simulation.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/product/ERP5/tests/testERP5Simulation.py b/product/ERP5/tests/testERP5Simulation.py
index 81744570fc..258bf38192 100644
--- a/product/ERP5/tests/testERP5Simulation.py
+++ b/product/ERP5/tests/testERP5Simulation.py
@@ -46,16 +46,6 @@ class TestERP5SimulationMixin(TestPackingListMixin):
   def validateNewRules(self):
     portal_types = self.portal.portal_types
 
-    # add New Order Rule in Rule Tool's allowed content types.
-    rule_tool_type = portal_types._getOb('Rule Tool')
-    if not 'New Order Rule' in rule_tool_type.getTypeAllowedContentTypeList():
-      rule_tool_type.edit(
-        type_allowed_content_type_list=rule_tool_type.getTypeAllowedContentTypeList() + ['New Order Rule'])
-
-    # select New Order Rule in 'SaleOrder_selectMovement' script.
-    script = self.portal.SaleOrder_selectMovement
-    script.write(script.read().replace("'Order Rule'", "'New Order Rule'")) # XXX-JPS Hacky
-
     # create a New Order Rule document.
     portal_rules = self.portal.portal_rules
     if portal_rules._getOb('new_order_rule', None) is None:
-- 
2.30.9