diff --git a/crm/fcrm/doctype/crm_deal/crm_deal.py b/crm/fcrm/doctype/crm_deal/crm_deal.py index e9a1dd61..d303c572 100644 --- a/crm/fcrm/doctype/crm_deal/crm_deal.py +++ b/crm/fcrm/doctype/crm_deal/crm_deal.py @@ -108,6 +108,8 @@ class CRMDeal(Document): """ sla = get_sla(self) if not sla: + self.first_responded_on = None + self.first_response_time = None return self.sla = sla.name diff --git a/crm/fcrm/doctype/crm_lead/crm_lead.py b/crm/fcrm/doctype/crm_lead/crm_lead.py index 6d26d1d1..b8160525 100644 --- a/crm/fcrm/doctype/crm_lead/crm_lead.py +++ b/crm/fcrm/doctype/crm_lead/crm_lead.py @@ -234,6 +234,8 @@ class CRMLead(Document): """ sla = get_sla(self) if not sla: + self.first_responded_on = None + self.first_response_time = None return self.sla = sla.name