Merge pull request #1213 from pdvyas/email-digest-error
fix company email digest patch
This commit is contained in:
commit
8cc2bf7fcf
@ -13,8 +13,6 @@ def execute():
|
||||
return
|
||||
|
||||
# no default company
|
||||
company = webnotes.conn.get_default("company")
|
||||
if not company:
|
||||
company = webnotes.conn.sql_list("select name from `tabCompany`")
|
||||
if company:
|
||||
company = company[0]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user