[minor] [fix]

This commit is contained in:
Anand Doshi
2013-07-11 18:26:00 +05:30
parent e464105c8e
commit 946e0de0cf
8 changed files with 16 additions and 15 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.cookies.get("full_name"):
if webnotes.conn.get_value("Profile", webnotes.session.user, "user_type") == "Partner":
from website.helpers.cart import set_cart_count
set_cart_count()