fixes in production, porjects, packing slip

This commit is contained in:
Anand Doshi
2012-04-20 11:21:47 +05:30
parent f642168a26
commit b8660fb51c
13 changed files with 18 additions and 662 deletions

View File

@@ -83,10 +83,6 @@ def boot_session(bootinfo):
bootinfo['user_background'] = webnotes.conn.get_value("Profile", webnotes.session['user'], 'background_image') or ''
import conf
bootinfo['sync_with_gateway'] = hasattr(conf, 'sync_with_gateway') and \
cint(conf.sync_with_gateway) or 0
def get_letter_heads():
"""load letter heads with startup"""
@@ -117,4 +113,4 @@ def login_as(login_manager):
# throw execption
webnotes.msgprint("Authentication Failed", raise_exception=1)
return login_manager
return login_manager