Merge pull request #38144 from GursheenK/tax-report-party-without-naming-series

fix(minor): show party instead of party name where naming series not set
This commit is contained in:
Gursheen Kaur Anand 2023-11-17 14:18:16 +05:30 committed by GitHub
commit 8c6e341a71
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(
[