[Erp5-report] r32177 kazuhiko - /erp5/trunk/products/ERP5/mixin/rule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 2 14:25:46 CET 2010


Author: kazuhiko
Date: Tue Feb  2 14:25:43 2010
New Revision: 32177

URL: http://svn.erp5.org?rev=32177&view=rev
Log:
the condition was opposite in r32172.

Modified:
    erp5/trunk/products/ERP5/mixin/rule.py

Modified: erp5/trunk/products/ERP5/mixin/rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/rule.py?rev=32177&r1=32176&r2=32177&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/rule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/rule.py [utf8] Tue Feb  2 14:25:43 2010
@@ -181,7 +181,7 @@
      """
     if exclude_quantity:
       return filter(lambda x:x.isDivergenceProvider() and \
-                    'quantity' in x.getTestedPropertyList(), self.objectValues(
+                    'quantity' not in x.getTestedPropertyList(), self.objectValues(
         portal_type=self.getPortalDivergenceTesterTypeList()))
     else:
       return filter(lambda x:x.isDivergenceProvider(), self.objectValues(




More information about the Erp5-report mailing list