From 0bbed414f8724dd518c076b587164cb19c3bef67 Mon Sep 17 00:00:00 2001 From: Wolfram Schmidt Date: Fri, 13 May 2022 08:29:45 +0200 Subject: [PATCH] feat: add Link to Opportunity (#30614) Adding Link to Opportunity Following the process of Opportunity to Quotation I added a section and link field to Opportunity for a backlink when using "create"-> Request for Quotation from Opportunity. --- .../request_for_quotation.json | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json index 4993df90d1..083cab78f7 100644 --- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json +++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.json @@ -32,7 +32,9 @@ "terms", "printing_settings", "select_print_heading", - "letter_head" + "letter_head", + "more_info", + "opportunity" ], "fields": [ { @@ -193,6 +195,23 @@ "options": "Letter Head", "print_hide": 1 }, + { + "collapsible": 1, + "fieldname": "more_info", + "fieldtype": "Section Break", + "label": "More Information", + "oldfieldtype": "Section Break", + "options": "fa fa-file-text", + "print_hide": 1 + }, + { + "fieldname": "opportunity", + "fieldtype": "Link", + "label": "Opportunity", + "options": "Opportunity", + "print_hide": 1, + "read_only": 1 + }, { "fieldname": "status", "fieldtype": "Select", @@ -258,7 +277,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2021-11-24 17:47:49.909000", + "modified": "2022-04-06 17:47:49.909000", "modified_by": "Administrator", "module": "Buying", "name": "Request for Quotation", @@ -327,4 +346,4 @@ "show_name_in_global_search": 1, "sort_field": "modified", "sort_order": "DESC" -} \ No newline at end of file +}