updated permlevel in address

This commit is contained in:
Nabin Hait 2012-04-24 12:40:50 +05:30
parent dd828be432
commit 9a6dbfca8f
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
def execute():
import webnotes
webnotes.conn.sql("update `tabDocPerm` set permlevel = 0 where parent = 'Address'")

View File

@ -237,5 +237,10 @@ patch_list = [
'patch_file': 'update_role_in_address',
'description': 'updated roles in address'
},
{
'patch_module': 'patches.april_2012',
'patch_file': 'update_permlevel_in_address',
'description': 'updated permlevel in address'
},
]