Commit 2ae30415 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

float divergence tester should not be used for matching.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31912 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ae0719de
......@@ -118,14 +118,15 @@ class TestERP5SimulationMixin(TestInvoiceMixin):
tested_property=category,
divergence_provider=False,
matching_provider=True)
# matching provider for quantity (i.e. only used for expand)
# non-matching/non-divergence provider quantity divergence tester
# (i.e. only used for expand)
invoice_rule.newContent(
portal_type='Net Converted Quantity Divergence Tester',
title='quantity divergence tester',
tested_property='quantity',
quantity=0,
divergence_provider=False,
matching_provider=True)
matching_provider=False)
# divergence provider for date
for property_id in ('start_date', 'stop_date'):
invoice_rule.newContent(
......
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