5e428f0447
If no SLA is configured then this query runs on EVERY `validate` call. Root cause: if not active SLA doctypes exist then `not []` evalutes to true and causes query to run again.
Customer Support / After sales service / Maintenance Module.