patch - update user_image in profile
diff --git a/erpnext/patches/jan_mar_2012/navupdate.py b/erpnext/patches/jan_mar_2012/navupdate.py
index 29939e5..8f5250e 100644
--- a/erpnext/patches/jan_mar_2012/navupdate.py
+++ b/erpnext/patches/jan_mar_2012/navupdate.py
@@ -37,6 +37,12 @@
reload_doc('home', 'page', 'activity')
reload_doc('core', 'doctype', 'profile')
+ # update user_image in profile
+ for p in webnotes.conn.sql("""select name, file_list from tabProfile
+ where ifnull(file_list,'')!=''"""):
+ fid = p[1].split('\n')[0].split(',')[1]
+ webnotes.conn.set_value('Profile', p[0], 'user_image', fid)
+
webnotes.conn.set_value('Control Panel', 'Control Panel', 'home_page',
'desktop')