Merge pull request #12141 from tundebabzy/fix-test-cases

[Minor] Fix typo
This commit is contained in:
Prateeksha Singh
2017-12-22 10:00:14 +05:30
committed by GitHub

View File

@@ -206,7 +206,7 @@ class PaymentEntry(AccountsController):
if d.reference_doctype != "Journal Entry":
if self.party != ref_doc.get(scrub(self.party_type)):
frappe.throw(_("{0} {1} does not associated with {2} {3}")
frappe.throw(_("{0} {1} is not associated with {2} {3}")
.format(d.reference_doctype, d.reference_name, self.party_type, self.party))
else:
self.validate_journal_entry()