Merge pull request #12141 from tundebabzy/fix-test-cases
[Minor] Fix typo
This commit is contained in:
commit
6401678e63
@ -206,7 +206,7 @@ class PaymentEntry(AccountsController):
|
|||||||
|
|
||||||
if d.reference_doctype != "Journal Entry":
|
if d.reference_doctype != "Journal Entry":
|
||||||
if self.party != ref_doc.get(scrub(self.party_type)):
|
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))
|
.format(d.reference_doctype, d.reference_name, self.party_type, self.party))
|
||||||
else:
|
else:
|
||||||
self.validate_journal_entry()
|
self.validate_journal_entry()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user