Commit a2d600ca authored by Sebastien Robin's avatar Sebastien Robin

erp5_pdm: getMovementHistoryStat now returns results we can directly use

parent e58d1a66
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<value> <string>from Products.PythonScripts.standard import Object\n <value> <string>from Products.PythonScripts.standard import Object\n
\n \n
return [Object(uid="new_",\n return [Object(uid="new_",\n
total_quantity=context.getMovementHistoryStat(**kw)[0][\'total_quantity\'],) ]\n total_quantity=context.getMovementHistoryStat(**kw)[\'total_quantity\'],) ]\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