diff --git a/frappe/automation/doctype/auto_repeat/auto_repeat.py b/frappe/automation/doctype/auto_repeat/auto_repeat.py
index 0ab7773bf2..513c0ad2cc 100644
--- a/frappe/automation/doctype/auto_repeat/auto_repeat.py
+++ b/frappe/automation/doctype/auto_repeat/auto_repeat.py
@@ -220,7 +220,14 @@ class AutoRepeat(Document):
file_name=new_doc.name, print_format=print_format)]
except frappe.PermissionError:
- error_string = _("A recurring {0} {1} has been created for you via Auto Repeat {2}.
Note: Failed to attach new recurring document. To enable attaching document in the auto repeat notification email, enable Allow Print for Draft in Print Settings").format(new_doc.doctype, new_doc.name, self.name)
+ error_string = _("A recurring {0} {1} has been created for you via Auto Repeat {2}.").format(new_doc.doctype, new_doc.name, self.name)
+ error_string += "
"
+
+ error_string += _("{0}: Failed to attach new recurring document. To enable attaching document in the auto repeat notification email, enable {1} in Print Settings")
+ .format(
+ frappe.bold(_('Note')),
+ frappe.bold(_('Allow Print for Draft'))
+ )
attachments = '[]'
if error_string: