Merge pull request #44437 from Abdeali099/report-data-trnslation

fix: Added translation for `Account` column
This commit is contained in:
ruthra kumar
2024-12-02 12:22:38 +05:30
committed by GitHub

View File

@@ -1027,8 +1027,15 @@ class ReceivablePayableReport:
options="party_type",
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(
label=self.account_type + " Account",
label=label,
fieldname="party_account",
fieldtype="Link",
options="Account",