From d7caa8d51b4071e491663f12a13cfd5d055bf960 Mon Sep 17 00:00:00 2001 From: Abdeali Chharchhoda Date: Fri, 29 Nov 2024 18:13:03 +0530 Subject: [PATCH] fix: added fieldname to avoid fieldname to translate (cherry picked from commit b80022133c0043d2ccfdcfef8770c2970adc9f0c) --- .../report/accounts_receivable/accounts_receivable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py index a5c90a37d4d2..ffa1da3653c1 100644 --- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py +++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py @@ -1004,7 +1004,7 @@ def get_party_details(self, party): def get_columns(self): self.columns = [] - self.add_column(_("Posting Date"), fieldtype="Date") + self.add_column(_("Posting Date"), fieldname="posting_date", fieldtype="Date") self.add_column( label=_("Party Type"), fieldname="party_type", @@ -1057,7 +1057,7 @@ def get_columns(self): width=180, ) - self.add_column(label=_("Due Date"), fieldtype="Date") + self.add_column(label=_("Due Date"), fieldname="due_date", fieldtype="Date") if self.account_type == "Payable": self.add_column(label=_("Bill No"), fieldname="bill_no", fieldtype="Data")