mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 23:18:02 +00:00
argument name fix in sendmail
This commit is contained in:
@@ -75,4 +75,4 @@ def send_email(success, service_name, error_status=None):
|
||||
frappe.connect()
|
||||
|
||||
recipients = frappe.db.get_value("Backup Manager", None, "send_notifications_to").split(",")
|
||||
frappe.sendmail(recipients=recipients, subject=subject, msg=message)
|
||||
frappe.sendmail(recipients=recipients, subject=subject, message=message)
|
||||
|
||||
@@ -86,7 +86,7 @@ class EmailDigest(Document):
|
||||
frappe.sendmail(recipients=user_id,
|
||||
subject="[ERPNext] [{frequency} Digest] {name}".format(
|
||||
frequency=self.frequency, name=self.name),
|
||||
msg=msg_for_this_receipient, bulk=True)
|
||||
message=msg_for_this_receipient, bulk=True)
|
||||
|
||||
def get_digest_msg(self):
|
||||
return self.get_msg_html(self.get_user_specific_content(frappe.session.user) + \
|
||||
|
||||
Reference in New Issue
Block a user