fix: Remove trailing space and line break in translatable string

(cherry picked from commit 60f35ad8a2)
This commit is contained in:
marination
2021-10-13 16:50:10 +05:30
committed by mergify-bot
parent a568fc7924
commit d86f5ec1ba

View File

@@ -1302,9 +1302,9 @@ class SalesInvoice(SellingController):
dn_link = frappe.utils.get_link_to_form("Delivery Note", item.delivery_note)
serial_no_msg = ", ".join(frappe.bold(d) for d in serial_no_diff)
msg = _("Row #{0}: The following Serial Nos are not present in \
Delivery Note {1}: ").format(item.idx, dn_link)
msg += serial_no_msg
msg = _("Row #{0}: The following Serial Nos are not present in Delivery Note {1}:").format(
item.idx, dn_link)
msg += " " + serial_no_msg
frappe.throw(msg=msg, title=_("Serial Nos Mismatch"))