Commit cd92bae3 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Check also user assigned tickets for auto-cancel

parent 31685bf3
portal = context.getPortalObject()
default_resource_uid = portal.restrictedTraverse("service_module/slapos_crm_monitoring", None).getUid()
portal.portal_catalog.searchAndActivate(
portal_type='Support Request',
simulation_state='validated',
simulation_state=['validated', 'suspended'],
default_resource_uid=default_resource_uid,
default_aggregate_portal_type=["Instance Tree"],
method_id='SupportRequest_updateMonitoringState',
......
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