From 9642d14e173b665d959f64ed2a809a5b9ba4e65b Mon Sep 17 00:00:00 2001
From: Julien Muchembled <jm@nexedi.com>
Date: Mon, 23 Aug 2010 12:58:24 +0000
Subject: [PATCH] Update float equivalence testers wrt r37567

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37950 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../price_tester.xml                          | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 .../price_tester.xml                          | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 .../price_tester.xml                          | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 .../price_tester.xml                          | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 .../destination_total_asset_price_tester.xml  | 22 +++++++++++++++----
 .../price_tester.xml                          | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 .../source_total_asset_price_tester.xml       | 22 +++++++++++++++----
 .../price_tester.xml                          | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 .../price_tester.xml                          | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 .../quantity_tester.xml                       | 18 +++++++++++++--
 17 files changed, 276 insertions(+), 38 deletions(-)

diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml
index e086703876..16be14f8a3 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
index dcbf51b176..268160932c 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
@@ -26,7 +26,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -45,7 +55,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml
index e086703876..16be14f8a3 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
index 0145fe55db..66929deb3d 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -65,7 +75,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml
index e086703876..16be14f8a3 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
index dcbf51b176..268160932c 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
@@ -26,7 +26,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -45,7 +55,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml
index e086703876..16be14f8a3 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
index 6bc1bb7b9a..b6c9b4ed25 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -57,7 +67,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml
index 24ad64dbd5..5392ab0dbb 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml
@@ -52,11 +52,21 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
-                      <value> <string>float</string> </value>
+                      <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>
@@ -99,8 +109,12 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
-            <value> <float>0.0</float> </value>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>tested_property</string> </key>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml
index f746bcc6a2..ca1ee5ab4e 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml
@@ -34,7 +34,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -67,7 +77,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
index 39165a4de2..a2fc1a9d95 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -61,7 +71,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml
index 6b0573bfdb..f55197d2f5 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml
@@ -52,11 +52,21 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
-                      <value> <string>float</string> </value>
+                      <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>
@@ -99,8 +109,12 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
-            <value> <float>0.0</float> </value>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>tested_property</string> </key>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml
index da05d7edf7..715f31476c 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml
@@ -16,7 +16,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -35,7 +45,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
index dcbf51b176..268160932c 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
@@ -26,7 +26,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -45,7 +55,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml
index e086703876..16be14f8a3 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
index 6bc1bb7b9a..b6c9b4ed25 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -57,7 +67,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
index 6a1800bb33..e3d3744cc2 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <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>
@@ -69,7 +79,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
-- 
2.30.9