Skip to content

Commit

Permalink
Merge pull request #41448 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-41412

fix: Duplicate party name column in AR/AP report (backport #41412)
  • Loading branch information
nabinhait authored May 14, 2024
2 parents 42312c5 + a8be5f0 commit 14ec635
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions erpnext/accounts/report/accounts_receivable/accounts_receivable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1028,20 +1028,6 @@ def get_columns(self):
fieldtype="Link",
options="Contact",
)
if self.filters.party_type == "Customer":
self.add_column(
_("Customer Name"),
fieldname="customer_name",
fieldtype="Link",
options="Customer",
)
elif self.filters.party_type == "Supplier":
self.add_column(
_("Supplier Name"),
fieldname="supplier_name",
fieldtype="Link",
options="Supplier",
)

self.add_column(label=_("Cost Center"), fieldname="cost_center", fieldtype="Data")
self.add_column(label=_("Voucher Type"), fieldname="voucher_type", fieldtype="Data")
Expand Down

0 comments on commit 14ec635

Please sign in to comment.