[minor] moved developer mode to wn

This commit is contained in:
Rushabh Mehta 2013-09-06 12:42:54 +05:30
parent 7ec9468b8d
commit 881a47f5c7
2 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,7 @@ We only accept issues that are bug reports or feature requests. Bugs must be iso
1. Screenshots (annotated with what should change)
1. Screenshots from other products if you want us to implement features present in other products.
1. Basically, the more you help us, the faster your request is likely to be completed.
1. A one line future request like **Implement Capacity Planning** will be closed.
1. A one line feature request like **Implement Capacity Planning** will be closed.
## Pull Requests

View File

@ -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"})