[Erp5-report] r33567 kazuhiko - /erp5/trunk/products/ERP5/Tool/SolverTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Mar 10 10:49:24 CET 2010
Author: kazuhiko
Date: Wed Mar 10 10:49:23 2010
New Revision: 33567
URL: http://svn.erp5.org?rev=33567&view=rev
Log:
update comments.
Modified:
erp5/trunk/products/ERP5/Tool/SolverTool.py
Modified: erp5/trunk/products/ERP5/Tool/SolverTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/SolverTool.py?rev=33567&r1=33566&r2=33567&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/SolverTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/SolverTool.py [utf8] Wed Mar 10 10:49:23 2010
@@ -198,12 +198,12 @@
of the interface definition.
"""
# Short Term Implementation Approach
+ # XXX tested_property can be multiple for some testers like Net
+ # Converted Quantity Divergence Tester or Variation Divergence
+ # Tester.
test_property = divergence_tester.getTestedProperty()
application_value = movement
try:
- # XXX this way does not work correctly for category,
- # eg. delivery_line.hasProperty('source') returns True even if it
- # is only difined in its parent delivery.
while not application_value.hasProperty(test_property):
application_value = application_value.getParentValue()
except AttributeError:
More information about the Erp5-report
mailing list