mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
appraisal, don't validate points for self-appraisal
This commit is contained in:
@@ -2,11 +2,12 @@ import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.reload_doc("core", "doctype", "patch_log")
|
||||
for d in webnotes.conn.sql("""select patch from __PatchLog"""):
|
||||
webnotes.doc({
|
||||
"doctype": "Patch Log",
|
||||
"patch": d[0]
|
||||
}).insert()
|
||||
if webnotes.conn.table_exists("__PatchLog"):
|
||||
for d in webnotes.conn.sql("""select patch from __PatchLog"""):
|
||||
webnotes.doc({
|
||||
"doctype": "Patch Log",
|
||||
"patch": d[0]
|
||||
}).insert()
|
||||
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.sql("drop table __PatchLog")
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.sql("drop table __PatchLog")
|
||||
Reference in New Issue
Block a user