diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py
index 5971af1bb89..9c4eddd247f 100644
--- a/erpnext/controllers/accounts_controller.py
+++ b/erpnext/controllers/accounts_controller.py
@@ -2656,7 +2656,10 @@ class AccountsController(TransactionBase):
if li:
duplicates = "
" + "
".join(li)
- frappe.throw(_("Rows with duplicate due dates in other rows were found: {0}").format(duplicates))
+ frappe.throw(
+ _("Rows with duplicate due dates in other rows were found: {0}").format(duplicates),
+ title=_("Payment Schedule"),
+ )
def validate_payment_schedule_amount(self):
if (self.doctype == "Sales Invoice" and self.is_pos) or self.get("is_opening") == "Yes":