mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 15:25:19 +00:00
fix: Translate Party Account column label
(cherry picked from commit a4f8315602)
This commit is contained in:
committed by
Mergify
parent
2061c7ca46
commit
c4103d26be
@@ -1018,8 +1018,15 @@ class ReceivablePayableReport:
|
|||||||
options="party_type",
|
options="party_type",
|
||||||
width=180,
|
width=180,
|
||||||
)
|
)
|
||||||
|
if self.account_type == "Receivable":
|
||||||
|
label = _("Receivable Account")
|
||||||
|
elif self.account_type == "Payable":
|
||||||
|
label = _("Payable Account")
|
||||||
|
else:
|
||||||
|
label = _("Party Account")
|
||||||
|
|
||||||
self.add_column(
|
self.add_column(
|
||||||
label=_(self.account_type + " Account"),
|
label=label,
|
||||||
fieldname="party_account",
|
fieldname="party_account",
|
||||||
fieldtype="Link",
|
fieldtype="Link",
|
||||||
options="Account",
|
options="Account",
|
||||||
|
|||||||
Reference in New Issue
Block a user