mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
fix appraisal patch for rerun
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
import webnotes
|
import webnotes
|
||||||
def execute():
|
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