[minor] [cleanup] [issue] webnotes/erpnext#438 - change user_type Partner to Website User

This commit is contained in:
Anand Doshi
2013-07-25 17:17:47 +05:30
parent d2b3fe8a02
commit 2b1d33f178
4 changed files with 11 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ def on_login_post_session(login_manager):
login_manager.user=='Administrator' and '#8CA2B3' or '#1B750D')
webnotes.conn.commit()
if webnotes.conn.get_value("Profile", webnotes.session.user, "user_type") == "Partner":
if webnotes.conn.get_value("Profile", webnotes.session.user, "user_type") == "Website User":
from website.helpers.cart import set_cart_count
set_cart_count()