AttributeError on loading every doc

Add this code:
@frappe.whitelist()
def get_automatic_email_link():
return frappe.db.get_value(“Email Account”, {“enable_incoming”: 1, “enable_automatic_linking”: 1}, “email_id”)
at the end of “frappe/email/doctype/email_account/email_account.py”

This commit remove the above code whithout changing the javascript code
https://github.com/frappe/frappe/commit/39850513ed2fa9859111db4fd6a0bb8e42a8d34a

1 Like