Commit 99b21587 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Slave Partition is obsolete

parent ada106b7
......@@ -59,7 +59,7 @@ if sale_order is None:\n
for sale_packing_list_line in sale_packing_list.contentValues(\n
portal_type="Sale Packing List Line"):\n
if sale_packing_list_line.getResource() == setup_service_relative_url:\n
computer_partition = sale_packing_list_line.getAggregateValue(portal_type=["Computer Partition", "Slave Partition"])\n
computer_partition = sale_packing_list_line.getAggregateValue(portal_type=["Computer Partition"])\n
if computer_partition is None:\n
raise ValueError("Sale Packing List Line \'%s\' should have a computer partition aggregated" % sale_packing_list_line.getRelativeUrl())\n
else:\n
......
......@@ -63,7 +63,7 @@ current_delivery_line = sale_packing_list_line_list[0]\n
if current_delivery_line.getResource() != destroy_service_relative_url:\n
return\n
\n
computer_partition = current_delivery_line.getAggregateValue(portal_type=["Computer Partition", "Slave Partition"])\n
computer_partition = current_delivery_line.getAggregateValue(portal_type=["Computer Partition"])\n
if computer_partition is None:\n
raise ValueError("Sale Packing List Line \'%s\' should have a computer partition aggregated" % current_delivery_line.getRelativeUrl())\n
else:\n
......
396
\ No newline at end of file
397
\ 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