mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 23:10:26 +00:00
[setup] new page + minor fixes
This commit is contained in:
@@ -22,8 +22,12 @@ def boot_session(bootinfo):
|
||||
"Notification Control").get_values()
|
||||
|
||||
# if no company, show a dialog box to create a new company
|
||||
bootinfo['setup_complete'] = webnotes.conn.sql("""select name from
|
||||
tabCompany limit 1""") and 'Yes' or 'No'
|
||||
bootinfo["customer_count"] = webnotes.conn.sql("""select count(*) from tabCustomer""")[0][0]
|
||||
|
||||
if not bootinfo["customer_count"]:
|
||||
bootinfo['setup_complete'] = webnotes.conn.sql("""select name from
|
||||
tabCompany limit 1""") and 'Yes' or 'No'
|
||||
|
||||
|
||||
# load subscription info
|
||||
import conf
|
||||
|
||||
Reference in New Issue
Block a user