From 12e5781a9ee6c6ba1d61e7c4da71e9da3054e0d6 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 3 Feb 2010 10:18:48 +0000
Subject: [PATCH] such a simple is now useless. fix missing path list for
 new_payment_rule.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32216 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_rules/new_simple_order_rule.xml    | 87 ----------------
 .../portal_rules/new_simple_order_rule/1.xml  | 99 -------------------
 .../portal_rules/new_simple_order_rule/2.xml  | 92 -----------------
 bt5/erp5_simulation/bt/template_path_list     |  4 +-
 4 files changed, 2 insertions(+), 280 deletions(-)
 delete mode 100644 bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml
 delete mode 100644 bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/1.xml
 delete mode 100644 bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/2.xml

diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml
deleted file mode 100644
index 293d202138..0000000000
--- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="OrderRule" module="Products.ERP5Type.Document.OrderRule"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_count</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>_mt_index</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>_tree</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>trade_phase/default/delivery</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>default_reference</string> </key>
-            <value> <string>default_order_rule</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>new_simple_order_rule</string> </value>
-        </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>2</string> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Order Rule</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>New Simple Order Rule</string> </value>
-        </item>
-        <item>
-            <key> <string>version</string> </key>
-            <value> <string>2</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="Length" module="BTrees.Length"/>
-    </pickle>
-    <pickle> <int>0</int> </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
-    </pickle>
-    <pickle>
-      <none/>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
-    </pickle>
-    <pickle>
-      <none/>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/1.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/1.xml
deleted file mode 100644
index 433fff1e44..0000000000
--- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/1.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_identity_criterion</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>_range_criterion</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>solver/portal_types/Quantity Split Solver</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>divergence_provider</string> </key>
-            <value> <int>0</int> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>1</string> </value>
-        </item>
-        <item>
-            <key> <string>matching_provider</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Category Membership Divergence Tester</string> </value>
-        </item>
-        <item>
-            <key> <string>tested_property</string> </key>
-            <value>
-              <tuple>
-                <string>resource</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>resource divergence tester</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="PersistentMapping" module="Persistence.mapping"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>data</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <global name="PersistentMapping" module="Persistence.mapping"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>data</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/2.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/2.xml
deleted file mode 100644
index b789c18323..0000000000
--- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_simple_order_rule/2.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="NetConvertedQuantityDivergenceTester" module="Products.ERP5Type.Document.NetConvertedQuantityDivergenceTester"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_local_properties</string> </key>
-            <value>
-              <tuple>
-                <dictionary>
-                  <item>
-                      <key> <string>id</string> </key>
-                      <value> <string>use_delivery_ratio</string> </value>
-                  </item>
-                  <item>
-                      <key> <string>type</string> </key>
-                      <value> <string>int</string> </value>
-                  </item>
-                </dictionary>
-                <dictionary>
-                  <item>
-                      <key> <string>id</string> </key>
-                      <value> <string>quantity_range_min</string> </value>
-                  </item>
-                  <item>
-                      <key> <string>type</string> </key>
-                      <value> <string>int</string> </value>
-                  </item>
-                </dictionary>
-                <dictionary>
-                  <item>
-                      <key> <string>id</string> </key>
-                      <value> <string>quantity_range_max</string> </value>
-                  </item>
-                  <item>
-                      <key> <string>type</string> </key>
-                      <value> <string>int</string> </value>
-                  </item>
-                </dictionary>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>solver/portal_types/Quantity Split Solver</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>2</string> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Net Converted Quantity Divergence Tester</string> </value>
-        </item>
-        <item>
-            <key> <string>quantity_range_max</string> </key>
-            <value> <int>2</int> </value>
-        </item>
-        <item>
-            <key> <string>quantity_range_min</string> </key>
-            <value> <int>-1</int> </value>
-        </item>
-        <item>
-            <key> <string>tested_property</string> </key>
-            <value>
-              <tuple>
-                <string>quantity</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>quantity divergence tester</string> </value>
-        </item>
-        <item>
-            <key> <string>use_delivery_ratio</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_simulation/bt/template_path_list b/bt5/erp5_simulation/bt/template_path_list
index 27fb006121..57b20f01cb 100644
--- a/bt5/erp5_simulation/bt/template_path_list
+++ b/bt5/erp5_simulation/bt/template_path_list
@@ -12,8 +12,8 @@ portal_rules/new_invoicing_rule
 portal_rules/new_invoicing_rule/**
 portal_rules/new_order_rule
 portal_rules/new_order_rule/**
-portal_rules/new_simple_order_rule
-portal_rules/new_simple_order_rule/**
+portal_rules/new_payment_rule
+portal_rules/new_payment_rule/**
 portal_rules/new_trade_model_rule
 portal_rules/new_trade_model_rule/**
 portal_solvers/1
-- 
2.30.9