fix: reset sla if no active sla found
diff --git a/erpnext/support/doctype/service_level_agreement/service_level_agreement.py b/erpnext/support/doctype/service_level_agreement/service_level_agreement.py
index 0334ec8..c0ee1dc 100644
--- a/erpnext/support/doctype/service_level_agreement/service_level_agreement.py
+++ b/erpnext/support/doctype/service_level_agreement/service_level_agreement.py
@@ -379,6 +379,7 @@
 	sla = get_active_service_level_agreement_for(doc)
 
 	if not sla:
+		doc.service_level_agreement = None
 		return
 
 	process_sla(doc, sla)