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

use getInventoryAssetPrice instead of getInventory


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5616 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e26a7e7
......@@ -93,7 +93,10 @@ if kw.get(\'omit_input\') :\n
if kw.get(\'omit_output\') :\n
kwd[\'omit_output\'] = 1\n
\n
return context.portal_simulation.getInventory(node_uid=context.getUid(),\n
# return context.portal_simulation.getInventory(node_uid=context.getUid(),\n
# omit_simulation=1,\n
# **kwd)\n
return context.portal_simulation.getInventoryAssetPrice(node_uid=context.getUid(),\n
omit_simulation=1,\n
**kwd)\n
</string> </value>
......@@ -112,7 +115,7 @@ return context.portal_simulation.getInventory(node_uid=context.getUid(),\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/AccountModule_getBalance</string> </value>
<value> <string>Script (Python):/erp5/portal_skins/erp5_accounting/AccountModule_getBalance</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
......
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