fix: Removed html tags in pop up message (#20603)

This commit is contained in:
Lokesh Waingankar 2020-03-03 19:07:51 +05:30
parent 6795422204
commit d398c73bc5

View File

@ -80,7 +80,7 @@ class Quotation(SellingController):
if reason.get('lost_reason') in lost_reasons_lst:
self.append('lost_reasons', reason)
else:
frappe.throw(_("Invalid lost reason <b>{0}</b>, please create a new lost reason".format(reason.get('lost_reason'))))
frappe.throw(_("Invalid lost reason {0}, please create a new lost reason".format(frappe.bold(reason.get('lost_reason')))))
self.update_opportunity()
self.update_lead()