Merge branch 'edge' of github.com:webnotes/erpnext into edge

Conflicts:
	patches/patch_list.py
This commit is contained in:
Anand Doshi
2013-01-02 14:02:36 +05:30
12 changed files with 45 additions and 955 deletions

View File

@@ -0,0 +1,7 @@
import webnotes
def execute():
webnotes.conn.sql("""update tabDocPerm set permlevel=0 where permlevel is null""")
webnotes.conn.sql("""update tabDocPerm set `create`=0, `submit`=0, `cancel`=0,
`amend`=0, `match`='' where permlevel>0""")
webnotes.delete_doc("Permission Control")