From 5b5f3743dd5437972b415113829cee1e1d793b76 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Mon, 19 Sep 2016 18:36:21 +0530 Subject: [PATCH] Opportunity, added supplier quotation in the dashboard --- erpnext/crm/doctype/opportunity/opportunity_dashboard.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/erpnext/crm/doctype/opportunity/opportunity_dashboard.py b/erpnext/crm/doctype/opportunity/opportunity_dashboard.py index 08d5657bb7..782acfd940 100644 --- a/erpnext/crm/doctype/opportunity/opportunity_dashboard.py +++ b/erpnext/crm/doctype/opportunity/opportunity_dashboard.py @@ -1,11 +1,14 @@ from frappe import _ data = { - 'fieldname': 'prevdoc_docname', + 'fieldname': 'opportunity', + 'non_standard_fieldnames': { + 'Quotation': 'prevdoc_docname' + }, 'transactions': [ { 'label': _('Related'), - 'items': ['Quotation'] + 'items': ['Quotation', 'Supplier Quotation'] }, ] } \ No newline at end of file