fix(minor): rename_lost_reason_detail

This commit is contained in:
Rushabh Mehta
2020-08-26 12:00:45 +05:30
parent 544d18327c
commit a163d8bc84

View File

@@ -3,6 +3,7 @@ import frappe
def execute(): def execute():
if frappe.db.exists("DocType", "Lost Reason Detail"): if frappe.db.exists("DocType", "Lost Reason Detail"):
frappe.reload_doc("crm", "doctype", "opportunity_lost_reason")
frappe.reload_doc("crm", "doctype", "opportunity_lost_reason_detail") frappe.reload_doc("crm", "doctype", "opportunity_lost_reason_detail")
frappe.reload_doc("setup", "doctype", "quotation_lost_reason_detail") frappe.reload_doc("setup", "doctype", "quotation_lost_reason_detail")