Commit 7f4d22b7 authored by Julien Muchembled's avatar Julien Muchembled

Always make a quantity divergence tester take the delivery ratio into account

/reviewed-on nexedi/erp5!819
parent 8930fec9
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -88,10 +78,6 @@ ...@@ -88,10 +78,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -96,10 +86,6 @@ ...@@ -96,10 +86,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -92,10 +82,6 @@ ...@@ -92,10 +82,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -442,10 +442,6 @@ ...@@ -442,10 +442,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -466,10 +466,6 @@ ...@@ -466,10 +466,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -235,10 +235,6 @@ ...@@ -235,10 +235,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -80,10 +70,6 @@ ...@@ -80,10 +70,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -477,10 +477,6 @@ ...@@ -477,10 +477,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -507,10 +507,6 @@ ...@@ -507,10 +507,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -76,10 +66,6 @@ ...@@ -76,10 +66,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -446,10 +446,6 @@ ...@@ -446,10 +446,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -442,10 +442,6 @@ ...@@ -442,10 +442,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -307,10 +307,6 @@ ...@@ -307,10 +307,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
<dictionary> <dictionary>
<item> <item>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -92,10 +82,6 @@ ...@@ -92,10 +82,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -88,10 +78,6 @@ ...@@ -88,10 +78,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -96,10 +86,6 @@ ...@@ -96,10 +86,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>workflow_history</string> </key> <key> <string>workflow_history</string> </key>
<value> <value>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -92,10 +82,6 @@ ...@@ -92,10 +82,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -84,10 +74,6 @@ ...@@ -84,10 +74,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -72,10 +62,6 @@ ...@@ -72,10 +62,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -16,16 +16,6 @@ ...@@ -16,16 +16,6 @@
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
<tuple> <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> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -96,10 +86,6 @@ ...@@ -96,10 +86,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>quantity divergence tester</string> </value> <value> <string>quantity divergence tester</string> </value>
</item> </item>
<item>
<key> <string>use_delivery_ratio</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -89,11 +89,9 @@ class FloatEquivalenceTester(Predicate, EquivalenceTesterMixin): ...@@ -89,11 +89,9 @@ class FloatEquivalenceTester(Predicate, EquivalenceTesterMixin):
tested_property = self.getTestedProperty() tested_property = self.getTestedProperty()
property_name = getattr(self, 'getTranslatedTestedPropertyTitle', lambda: None)() or \ property_name = getattr(self, 'getTranslatedTestedPropertyTitle', lambda: None)() or \
tested_property tested_property
if prevision_movement.getDelivery() == decision_movement.getRelativeUrl(): if (tested_property == 'quantity' and
# use delivery_ratio if specified prevision_movement.getDelivery() == decision_movement.getRelativeUrl()):
if self.getProperty('use_delivery_ratio'):
decision_value *= prevision_movement.getDeliveryRatio() decision_value *= prevision_movement.getDeliveryRatio()
if tested_property == 'quantity':
prevision_value += prevision_movement.getDeliveryError(0.0) prevision_value += prevision_movement.getDeliveryError(0.0)
if self.isDecimalAlignmentEnabled(): if self.isDecimalAlignmentEnabled():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment