brotherton-erpnext/erpnext/patches/v5_0/rename_customer_issue.py

6 lines
145 B
Python
Raw Normal View History

import frappe
def execute():
if frappe.db.table_exists("tabCustomer Issue"):
frappe.rename_doc("DocType", "Customer Issue", "Warrany Claim")