Commit 6b9bd9c1 authored by Jérome Perrin's avatar Jérome Perrin

Default (omit_input=0 and omit_output=0) stat was not returned

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17093 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b5f3dd74
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -127,6 +124,10 @@ if params.get(\'period_start_date\', 0) and params.get(\'node_uid\'):\n ...@@ -127,6 +124,10 @@ if params.get(\'period_start_date\', 0) and params.get(\'node_uid\'):\n
from_date=period_start_date,\n from_date=period_start_date,\n
at_date=at_date,\n at_date=at_date,\n
**params) - max(-period_openning_balance, 0)\n **params) - max(-period_openning_balance, 0)\n
return getInventoryAssetPrice(\n
from_date=period_start_date,\n
at_date=at_date,\n
**params) - max(-period_openning_balance, 0)\n
\n \n
return getInventoryAssetPrice(\n return getInventoryAssetPrice(\n
omit_input=omit_input,\n omit_input=omit_input,\n
......
443 444
\ No newline at end of file \ No newline at end of file
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