fix appraisal patch for rerun

This commit is contained in:
Rushabh Mehta 2012-11-17 14:31:06 +05:30
parent 2d231514e6
commit 45fd518ed0

View File

@ -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)