diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Delivery_getAggregatedItemValueList.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Delivery_getAggregatedItemValueList.xml index ead98bfd4e36e75f684fb6bd1e74364ae7af8758..093cd2a131a0454d3d746fd83ee366417f150149 100644 --- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Delivery_getAggregatedItemValueList.xml +++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Delivery_getAggregatedItemValueList.xml @@ -51,9 +51,8 @@ <item> <key> <string>_body</string> </key> <value> <string># Return the list of items aggregated by this packing list\n -\n aggregate_value_list = []\n -for movement in context.getMovementList():\n +for movement in context.getIndexableChildValueList():\n aggregate_value_list.extend(movement.getAggregateValueList())\n return aggregate_value_list\n </string> </value> diff --git a/bt5/erp5_item/bt/revision b/bt5/erp5_item/bt/revision index 27b4d6e6bacedf3dda2b50f2678f77fb5e0ec214..022e7e6ca79f8a447d3dd426089348521ccb7e0c 100644 --- a/bt5/erp5_item/bt/revision +++ b/bt5/erp5_item/bt/revision @@ -1 +1 @@ -287 \ No newline at end of file +288 \ No newline at end of file