Commit 9f50d38b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Update order of fields

parent 5fa466c2
...@@ -4,10 +4,9 @@ from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, NegatedQuery ...@@ -4,10 +4,9 @@ from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, NegatedQuery
portal.portal_catalog.searchAndActivate( portal.portal_catalog.searchAndActivate(
portal_type='Hosting Subscription', portal_type='Hosting Subscription',
validation_state='validated', validation_state='validated',
where_expression="related_predecessor_title_1_catalog.title <> catalog.title", related_predecessor_but_with_different_title_than_catalog_title="%",
predecessor_title=NegatedQuery(SimpleQuery(predecessor_title=None, comparison_operator='is')), predecessor_title=NegatedQuery(SimpleQuery(predecessor_title=None, comparison_operator='is')),
method_id='HostingSubscription_assertPredecessor', method_id='HostingSubscription_assertPredecessor',
activate_kw={'tag': tag} activate_kw={'tag': tag})
)
context.activate(after_tag=tag).getId() context.activate(after_tag=tag).getId()
...@@ -118,10 +118,10 @@ ...@@ -118,10 +118,10 @@
<value> <value>
<list> <list>
<string>my_last_contact_date</string> <string>my_last_contact_date</string>
<string>my_slapos_version</string>
<string>my_os_type</string> <string>my_os_type</string>
<string>my_python_version</string>
<string>my_public_ipv4_address</string> <string>my_public_ipv4_address</string>
<string>my_python_version</string>
<string>my_slapos_version</string>
</list> </list>
</value> </value>
</item> </item>
......
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