brotherton-erpnext/erpnext/patches/v5_0/rename_customer_issue.py
2015-02-17 10:45:50 +05:30

6 lines
145 B
Python

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