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