fix appraisal patch for rerun
This commit is contained in:
parent
2d231514e6
commit
45fd518ed0
@ -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)
|
Loading…
x
Reference in New Issue
Block a user