added get_site_address method to website's init

This commit is contained in:
Anand Doshi
2012-10-16 10:47:18 +05:30
parent aea8204997
commit 7aedaec6b6
3 changed files with 24 additions and 14 deletions

View File

@@ -140,8 +140,8 @@ class DocType:
import webnotes
companies_list = webnotes.conn.sql("SELECT company_name FROM `tabCompany`", as_list=1)
import webnotes.utils
system_managers = webnotes.utils.get_system_managers_list()
from webnotes.profile import get_system_managers
system_managers = get_system_managers()
if not system_managers: return
from webnotes.model.doc import Document