fix: show party instead of party name where naming series not set

(cherry picked from commit b27af6b5c85a99d22060ac85b9ba37893317bfbb)
This commit is contained in:
Gursheen Anand 2023-11-17 12:36:57 +05:30 committed by Mergify
parent f6c48e8ecf
commit f120dc56c2

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(
[