mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
[minor] moved developer mode to wn
This commit is contained in:
@@ -33,9 +33,8 @@ def boot_session(bootinfo):
|
||||
|
||||
# load subscription info
|
||||
import conf
|
||||
for key in ['max_users', 'expires_on', 'max_space', 'status', 'developer_mode',
|
||||
'commercial_support']:
|
||||
if hasattr(conf, key): bootinfo[key] = getattr(conf, key)
|
||||
for key in ['max_users', 'expires_on', 'max_space', 'status', 'commercial_support']:
|
||||
if hasattr(conf, key): bootinfo[key] = getattr(conf, key)
|
||||
|
||||
bootinfo['docs'] += webnotes.conn.sql("""select name, default_currency, cost_center
|
||||
from `tabCompany`""", as_dict=1, update={"doctype":":Company"})
|
||||
|
||||
Reference in New Issue
Block a user