mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
chore: add translate function to email subject in digest frecuency (#38474)
chore: add translate function to email subject in digest frecuency
(cherry picked from commit b24e28953b)
Co-authored-by: Ernesto Ruiz <eruiz@wbapps.com>
This commit is contained in:
@@ -123,7 +123,7 @@ class EmailDigest(Document):
|
|||||||
if msg_for_this_recipient and row.recipient in valid_users:
|
if msg_for_this_recipient and row.recipient in valid_users:
|
||||||
frappe.sendmail(
|
frappe.sendmail(
|
||||||
recipients=row.recipient,
|
recipients=row.recipient,
|
||||||
subject=_("{0} Digest").format(self.frequency),
|
subject=_("{0} Digest").format(_(self.frequency)),
|
||||||
message=msg_for_this_recipient,
|
message=msg_for_this_recipient,
|
||||||
reference_doctype=self.doctype,
|
reference_doctype=self.doctype,
|
||||||
reference_name=self.name,
|
reference_name=self.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user