fix(accounts): Translate columns in AP/AR report (#36503)
diff --git a/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.py b/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.py
index 3aa1ae7..da4c9da 100644
--- a/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.py
+++ b/erpnext/accounts/report/accounts_receivable_summary/accounts_receivable_summary.py
@@ -145,13 +145,13 @@
def get_columns(self):
self.columns = []
self.add_column(
- label="Party Type",
+ label=_("Party Type"),
fieldname="party_type",
fieldtype="Data",
width=100,
)
self.add_column(
- label="Party",
+ label=_("Party"),
fieldname="party",
fieldtype="Dynamic Link",
options="party_type",
@@ -160,7 +160,7 @@
if self.party_naming_by == "Naming Series":
self.add_column(
- label="Supplier Name" if self.account_type == "Payable" else "Customer Name",
+ label=_("Supplier Name") if self.account_type == "Payable" else _("Customer Name"),
fieldname="party_name",
fieldtype="Data",
)