commit | b27af6b5c85a99d22060ac85b9ba37893317bfbb | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Fri Nov 17 12:36:57 2023 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Fri Nov 17 12:36:57 2023 +0530 |
tree | 48a17e05d2524412be18f69bc649fa21e0ad9db1 | |
parent | c69fb80222b1a590a4b4a45ad5b75fa551f4ff13 [diff] |
fix: show party instead of party name where naming series not set
diff --git a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py index 06c9e44..f6c7bd3 100644 --- a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py
@@ -184,6 +184,16 @@ "width": 180, } ) + else: + columns.append( + { + "label": _(filters.get("party_type")), + "fieldname": "party", + "fieldtype": "Dynamic Link", + "options": "party_type", + "width": 180, + } + ) columns.extend( [