Commit c41547b9 authored by Jérome Perrin's avatar Jérome Perrin

handle src__ argument correctly in getInventoryStat


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4579 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e013b3f
......@@ -510,6 +510,9 @@ class SimulationTool (BaseTool):
ignore_variation=ignore_variation, standardise=standardise, omit_simulation=omit_simulation,
omit_input=omit_input, omit_output=omit_output,
selection_domain=selection_domain, selection_report=selection_report, **sql_kw)
if src__ :
return result
total_result = 0
for row in result :
total_result += row.stock_uid
......
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