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

9 lines
296 B
Python
Raw Normal View History

# Copyright (c) 2013, Frappe Technologies Pvt. Ltd. and Contributors
2015-03-02 12:03:48 +00:00
# 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")