fixes in production, porjects, packing slip
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user