Merge pull request #38497 from frappe/mergify/bp/version-15-hotfix/pr-38144

fix(minor): show party instead of party name where naming series not set (backport #38144)
This commit is contained in:
Gursheen Kaur Anand 2023-12-01 18:20:11 +05:30 committed by GitHub
commit afa6255eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,6 +184,16 @@ def get_columns(filters):
"width": 180,
}
)
else:
columns.append(
{
"label": _(filters.get("party_type")),
"fieldname": "party",
"fieldtype": "Dynamic Link",
"options": "party_type",
"width": 180,
}
)
columns.extend(
[