mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 04:15:10 +00:00
fix appraisal patch for rerun
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import webnotes
|
||||
def execute():
|
||||
webnotes.conn.sql("""delete from tabDocPerm where parent='Appraisal'""")
|
||||
webnotes.conn.sql("""delete from tabDocPerm where parent='Appraisal'""")
|
||||
from webnotes.model.sync import sync
|
||||
sync("hr", "appraisal", force=True)
|
||||
Reference in New Issue
Block a user