Commit e1e4ca4c authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: Improvements on Alarm's queries

parent 9a274e9e
......@@ -5,10 +5,9 @@ if not portal.portal_preferences.getPreferredCloudContractEnabled():
select_dict= {'default_aggregate_uid': None}
portal.portal_catalog.searchAndActivate(
portal_type=('Slave Instance', 'Software Instance'),
parent_uid=context.getPortalObject().software_instance_module.getUid(),
validation_state='validated',
default_aggregate_uid=None,
select_dict=select_dict,
left_join_list=select_dict.keys(),
method_id='SoftwareInstance_requestValidationPayment',
......
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