diff --git a/crm/fcrm/doctype/crm_deal/api.py b/crm/fcrm/doctype/crm_deal/api.py index c09ac818..e37ca74d 100644 --- a/crm/fcrm/doctype/crm_deal/api.py +++ b/crm/fcrm/doctype/crm_deal/api.py @@ -29,5 +29,5 @@ def get_deal(name): deal["doctype_fields"] = get_doctype_fields("CRM Deal") deal["doctype"] = "CRM Deal" - deal["_form_script"] = get_form_script('CRM Lead') + deal["_form_script"] = get_form_script('CRM Deal') return deal