brotherton-erpnext/erpnext/patches/v5_0/rename_pos_setting.py
2015-05-20 15:43:17 +05:30

6 lines
134 B
Python

import frappe
def execute():
if frappe.db.table_exists("POS Setting"):
frappe.rename_doc("DocType", "POS Setting", "POS Profile")