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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
183 B
Python
Raw Normal View History

from __future__ import unicode_literals
import frappe
def execute():
2015-03-20 08:38:46 +00:00
if frappe.db.table_exists("Customer Issue"):
2015-02-18 06:24:08 +00:00
frappe.rename_doc("DocType", "Customer Issue", "Warranty Claim")