mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
Merge pull request #1213 from pdvyas/email-digest-error
fix company email digest patch
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user