brotherton-erpnext/erpnext/patches/v5_0/rename_customer_issue.py
2015-02-18 11:54:08 +05:30

6 lines
146 B
Python

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