Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
from __future__ import unicode_literals
import frappe
def execute():
if frappe.db.table_exists("POS Setting"):
frappe.rename_doc("DocType", "POS Setting", "POS Profile")