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

use a list method which is also compatible with open orders

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43815 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 56ff100b
...@@ -51,9 +51,8 @@ ...@@ -51,9 +51,8 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># Return the list of items aggregated by this packing list\n <value> <string># Return the list of items aggregated by this packing list\n
\n
aggregate_value_list = []\n aggregate_value_list = []\n
for movement in context.getMovementList():\n for movement in context.getIndexableChildValueList():\n
aggregate_value_list.extend(movement.getAggregateValueList())\n aggregate_value_list.extend(movement.getAggregateValueList())\n
return aggregate_value_list\n return aggregate_value_list\n
</string> </value> </string> </value>
......
287 288
\ 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