Commit fd2a8dd7 authored by Boxiang Sun's avatar Boxiang Sun

slapos_cloud: Fixup

parent 912ee502
......@@ -13,7 +13,6 @@ portal_type = "Internal Packing List"
source_project = context.Item_getCurrentProjectValue()
source_section = context.Item_getCurrentOwnerValue()
resource_value = context.Item_getResourceValue()
if destination_project is None and source_project is not None:
destination_project = source_project.getRelativeUrl()
......@@ -48,6 +47,7 @@ delivery = module.newContent(title="Transfer %s to %s" % (context.getTitle(), de
delivery_line = delivery.newContent(
portal_type=line_portal_type,
title=context.getReference(),
quantity_unit=resource_value.getQuantityUnit(),
resource_value=resource_value)
delivery_line.edit(
......
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