Commit e8f5ff53 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Improvements on Alarm's queries

See merge request nexedi/slapos.core!310
parents 73a027c7 e1e4ca4c
Pipeline #15914 failed with stage
in 0 seconds
......@@ -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