Commit 76b7b221 authored by Łukasz Nowak's avatar Łukasz Nowak

- simplify creation of packing list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43948 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9c2a2c2f
...@@ -73,11 +73,7 @@ instance_hosting_sale_packing_list_line = sale_packing_list.newContent(\n ...@@ -73,11 +73,7 @@ instance_hosting_sale_packing_list_line = sale_packing_list.newContent(\n
portal_type=\'Sale Packing List Line\',\n portal_type=\'Sale Packing List Line\',\n
resource=service_relative_url,\n resource=service_relative_url,\n
quantity=instance_setup_sale_packing_list_line.getQuantity(),\n quantity=instance_setup_sale_packing_list_line.getQuantity(),\n
aggregate_value_list=[\n aggregate_list=instance_setup_sale_packing_list_line.getAggregateList(),\n
software_instance,\n
instance_setup_sale_packing_list_line.getAggregateValue(portal_type=\'Software Release\'),\n
instance_setup_sale_packing_list_line.getAggregateValue(portal_type=[\'Computer Partition\', \'Slave Partition\']),\n
instance_setup_sale_packing_list_line.getAggregateValue(portal_type=\'Hosting Subscription\'),]\n
)\n )\n
return sale_packing_list\n return sale_packing_list\n
</string> </value> </string> </value>
......
213 214
\ 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