mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
refactor: better label for entity type
This commit is contained in:
@@ -115,7 +115,7 @@ def get_columns(filters):
|
|||||||
"width": 180,
|
"width": 180,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": _("Entity Type"),
|
"label": _(f"{filters.get('party_type', 'Party')} Type"),
|
||||||
"fieldname": "party_entity_type",
|
"fieldname": "party_entity_type",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"width": 100,
|
"width": 100,
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ def get_columns(filters):
|
|||||||
"width": 180,
|
"width": 180,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": _("Entity Type"),
|
"label": _(f"{filters.get('party_type', 'Party')} Type"),
|
||||||
"fieldname": "party_entity_type",
|
"fieldname": "party_entity_type",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"width": 180,
|
"width": 180,
|
||||||
|
|||||||
Reference in New Issue
Block a user