Removed HTML tags from messages

Remove HTML from messages
This commit is contained in:
Maxwell Morais 2016-05-16 06:24:55 -03:00
parent 89fdbdf404
commit 92b0be93c7

View File

@ -57,8 +57,8 @@ class MaintenanceSchedule(TransactionBase):
if no_email_sp:
frappe.msgprint(
frappe._("Setting Events to <b>{0}</b>, since the Employee attached to the below Sales Persons does not have a User ID<br>{1}").format(
doc.owner, no_email_sp.join("<br>")
frappe._("Setting Events to {0}, since the Employee attached to the below Sales Persons does not have a User ID{1}").format(
doc.owner, "<br>"+no_email_sp.join("<br>")
))
scheduled_date = frappe.db.sql("""select scheduled_date from