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

(vincent) update to use correct getInventoryStat API


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5064 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ae980dde
...@@ -108,11 +108,11 @@ if kw.get(\'stat\') :\n ...@@ -108,11 +108,11 @@ if kw.get(\'stat\') :\n
if selection.isInvertMode() :\n if selection.isInvertMode() :\n
kwd[\'selection_uids\'] = selection.getInvertModeUidList()\n kwd[\'selection_uids\'] = selection.getInvertModeUidList()\n
return context.portal_simulation.getInventoryStat(omit_simulation=1,\n return context.portal_simulation.getInventoryStat(omit_simulation=1,\n
**kwd)\n **kwd)[0][\'stock_uid\']\n
\n \n
return context.portal_simulation.getInventoryStat(node_uid=context.getUid(),\n return context.portal_simulation.getInventoryStat(node_uid=context.getUid(),\n
omit_simulation=1,\n omit_simulation=1,\n
**kwd)\n **kwd)[0][\'stock_uid\']\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
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