diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation_dashboard.py b/erpnext/buying/doctype/request_for_quotation/request_for_quotation_dashboard.py index ba09d3f088e..95825230016 100644 --- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation_dashboard.py +++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation_dashboard.py @@ -6,7 +6,6 @@ def get_data(): 'fieldname': 'request_for_quotation', 'transactions': [ { - 'label': _('Related'), 'items': ['Supplier Quotation'] }, ] diff --git a/erpnext/crm/doctype/lead/lead_dashboard.py b/erpnext/crm/doctype/lead/lead_dashboard.py new file mode 100644 index 00000000000..b87fc0ea4a8 --- /dev/null +++ b/erpnext/crm/doctype/lead/lead_dashboard.py @@ -0,0 +1,11 @@ +from frappe import _ + +def get_data(): + return { + 'fieldname': 'lead', + 'transactions': [ + { + 'items': ['Opportunity', 'Quotation'] + }, + ] + } \ No newline at end of file diff --git a/erpnext/crm/doctype/opportunity/opportunity_dashboard.py b/erpnext/crm/doctype/opportunity/opportunity_dashboard.py index 40ff6d0c1a4..1939c2e741d 100644 --- a/erpnext/crm/doctype/opportunity/opportunity_dashboard.py +++ b/erpnext/crm/doctype/opportunity/opportunity_dashboard.py @@ -8,7 +8,6 @@ def get_data(): }, 'transactions': [ { - 'label': _('Related'), 'items': ['Quotation', 'Supplier Quotation'] }, ] diff --git a/erpnext/selling/doctype/quotation/quotation_dashboard.py b/erpnext/selling/doctype/quotation/quotation_dashboard.py index e572a9238fa..f1c41e560a1 100644 --- a/erpnext/selling/doctype/quotation/quotation_dashboard.py +++ b/erpnext/selling/doctype/quotation/quotation_dashboard.py @@ -5,7 +5,6 @@ def get_data(): 'fieldname': 'prevdoc_docname', 'transactions': [ { - 'label': _('Related'), 'items': ['Sales Order'] }, ]