Skip to content

Commit

Permalink
fix: added fieldname to avoid fieldname to translate
Browse files Browse the repository at this point in the history
(cherry picked from commit b800221)
  • Loading branch information
Abdeali099 authored and mergify[bot] committed Nov 29, 2024
1 parent a1643ad commit 17c2734
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,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",
Expand Down Expand Up @@ -1066,7 +1066,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")
Expand Down

0 comments on commit 17c2734

Please sign in to comment.