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

9 lines
296 B
Python

# Copyright (c) 2013, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doctype("Appraisal")
frappe.db.sql("update `tabAppraisal` set remarks = comments")