Rewrote hooks for scheduler, notifications, boot, session, login, webpage webnotes/wnframework#351

This commit is contained in:
Rushabh Mehta
2013-12-16 12:48:22 +05:30
parent 30430796c7
commit c652a6254f
14 changed files with 65 additions and 113 deletions

View File

@@ -47,7 +47,6 @@ def load_country_and_currency(bootinfo):
where ifnull(enabled,0)=1""", as_dict=1, update={"doctype":":Currency"})
def get_letter_heads():
"""load letter heads with startup"""
import webnotes
ret = webnotes.conn.sql("""select name, content from `tabLetter Head`
where ifnull(disabled,0)=0""")