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

This commit is contained in:
Rushabh Mehta 2012-11-22 14:53:14 +01:00
commit db1e93844c
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import webnotes
def execute():
"""
in old system, deleted profiles were set as docstatus=2
in new system, its either disabled or deleted.
"""
webnotes.conn.sql("""update `tabProfile` set docstatus=0, enabled=0
where docstatus=2""")

View File

@ -671,4 +671,8 @@ patch_list = [
'patch_module': 'patches.november_2012',
'patch_file': 'reset_appraisal_permissions',
},
{
'patch_module': 'patches.november_2012',
'patch_file': 'disable_cancelled_profiles',
},
]