Commit 4fdfcd05 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

try to find 'quantity' if tested property is 'converted_quantity'.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31395 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9f109d79
......@@ -197,6 +197,9 @@ class SolverTool(BaseTool):
"""
# Short Term Implementation Approach
test_property = divergence_tester.getTestedProperty()
# XXX hardcoded
if test_property == 'converted_quantity':
test_property = 'quantity'
application_value = movement
try:
while not application_value.hasProperty(test_property):
......
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