brotherton-erpnext/erpnext/patches/v5_0/set_appraisal_remarks.py
2015-03-02 17:33:48 +05:30

9 lines
299 B
Python

# Copyright (c) 2013, Web Notes 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")