Commit ef3954d2 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud:

* use the allocation supply start date to filter not yet activated
* only use Software Product on Allocation Supply Line
parent 50d857b2
......@@ -9,7 +9,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>portal_type</string>
</list>
</value>
</item>
<item>
......@@ -62,6 +64,10 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -69,10 +75,6 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>description</string> </key>
<value> <string>The title of the resource involved</string> </value>
</item>
<item>
<key> <string>extra_context</string> </key>
<value>
......@@ -88,8 +90,15 @@
<value> <string>Base_viewPDMFieldLibrary</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Resource</string> </value>
<key> <string>portal_type</string> </key>
<value>
<list>
<tuple>
<string>Software Product</string>
<string>Software Product</string>
</tuple>
</list>
</value>
</item>
</dictionary>
</value>
......
......@@ -46,6 +46,7 @@ tmp_context = portal.portal_trash.newContent(
resource_value=software_product,
software_type_value=type_variation,
software_release_value=release_variation,
start_date=DateTime()
)
allocation_cell_list = [x.getObject() for x in \
......
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