Commit 85aa93a1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add XXX note in current implementation of SolverTool.getSolverDecisionApplicationValueList().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31490 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 94dbf26b
......@@ -202,6 +202,9 @@ class SolverTool(BaseTool):
test_property = 'quantity'
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:
......
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