Merge pull request #1157 from pdvyas/slow-migration-patch-fix

[minor] make slow branch migratable to master
This commit is contained in:
Anand Doshi 2013-12-08 22:39:29 -08:00
commit 46b18475a3
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,6 @@ def execute():
webnotes.delete_doc("DocType", "Question")
webnotes.delete_doc("DocType", "Answer")
webnotes.bean("Style Settings").save()
# update comment delete
webnotes.conn.sql("""update tabDocPerm \

View File

@ -15,4 +15,5 @@ def execute():
# reset property setters for series
for name in ("Stock Settings", "Selling Settings", "Buying Settings", "HR Settings"):
webnotes.bean(name, name).save()
webnotes.reload_doc(name.split()[0], 'DocType', name)
webnotes.bean(name, name).save()