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 b24e28953b6e085705630e2d8474492777732a9e) Co-authored-by: Ernesto Ruiz <eruiz@wbapps.com>
This commit is contained in:
parent
8819d6c173
commit
9cdbd33e40
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user