Commit 4934cc77 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

tested property can be multiple.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32172 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd47123a
......@@ -181,7 +181,7 @@ class RuleMixin:
"""
if exclude_quantity:
return filter(lambda x:x.isDivergenceProvider() and \
x.getTestedProperty() != 'quantity', self.objectValues(
'quantity' in x.getTestedPropertyList(), self.objectValues(
portal_type=self.getPortalDivergenceTesterTypeList()))
else:
return filter(lambda x:x.isDivergenceProvider(), self.objectValues(
......
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