mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-21 15:48:29 +00:00
fix: show invoices name instead of object address
comma_and function in expecting a list but it gets a tuple so it is returning a object instead of a string
(cherry picked from commit cf93714a7c)
This commit is contained in:
committed by
ruthra kumar
parent
cff6e72838
commit
e802f0c352
@@ -468,7 +468,7 @@ class PaymentEntry(AccountsController):
|
|||||||
_(
|
_(
|
||||||
"References {0} of type {1} had no outstanding amount left before submitting the Payment Entry. Now they have a negative outstanding amount."
|
"References {0} of type {1} had no outstanding amount left before submitting the Payment Entry. Now they have a negative outstanding amount."
|
||||||
).format(
|
).format(
|
||||||
frappe.bold(comma_and((d.reference_name for d in references))),
|
frappe.bold(comma_and([d.reference_name for d in references])),
|
||||||
_(reference_doctype),
|
_(reference_doctype),
|
||||||
)
|
)
|
||||||
+ "<br><br>"
|
+ "<br><br>"
|
||||||
|
|||||||
Reference in New Issue
Block a user