Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Nabin Hait 2012-10-26 14:43:15 +05:30
commit 2e99bd58bd
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
import webnotes
def execute():
webnotes.conn.sql("""delete from `tabDocPerm` where parent='Custom Script'""")
webnotes.conn.commit()
from webnotes.model.sync import sync
sync("core", "custom_script", force=1)
webnotes.conn.begin()

View File

@ -639,4 +639,8 @@ patch_list = [
'patch_module': 'patches.october_2012',
'patch_file': 'fix_cancelled_gl_entries',
},
{
'patch_module': 'patches.october_2012',
'patch_file': 'custom_script_delete_permission',
}
]