Commit 00c3fa08 authored by Aurel's avatar Aurel

do not ignore src__ parameter

parent 52922b5e
......@@ -1796,8 +1796,12 @@ class SimulationTool(BaseTool):
result = self.Resource_zGetAssetPrice(
valuation_method=valuation_method,
src__=src__,
**sql_kw)
if src__ :
return result
if len(result) > 0:
return result[-1].total_asset_price
......
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