From 2bec43244a038a220046a15a355f349c5b5f28f3 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Wed, 27 Dec 2023 17:21:09 +0530 Subject: [PATCH] fix: allow assigned_to in listview --- crm/api/doc.py | 1 + frontend/src/components/ListViews/DealsListView.vue | 6 +++++- frontend/src/components/ListViews/LeadsListView.vue | 6 +++++- frontend/src/pages/Deals.vue | 13 ++++++++++++- frontend/src/pages/Leads.vue | 7 +++++++ 5 files changed, 30 insertions(+), 3 deletions(-) diff --git a/crm/api/doc.py b/crm/api/doc.py index 335c511c..d109f409 100644 --- a/crm/api/doc.py +++ b/crm/api/doc.py @@ -107,6 +107,7 @@ def get_list_data(doctype: str, filters: dict, order_by: str): "value": "modified_by", "options": "User", }, + {"label": "Assigned To", "type": "Text", "value": "_assign"}, {"label": "Owner", "type": "Link", "value": "owner", "options": "User"}, ] diff --git a/frontend/src/components/ListViews/DealsListView.vue b/frontend/src/components/ListViews/DealsListView.vue index a02b6996..05698535 100644 --- a/frontend/src/components/ListViews/DealsListView.vue +++ b/frontend/src/components/ListViews/DealsListView.vue @@ -17,7 +17,10 @@ v-slot="{ column, item }" :row="row" > - +
+ +
+