From 42f2674cbafb27542c0ab2f669dfaa8478d60f76 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 1 Jun 2015 18:23:57 +0530 Subject: [PATCH] dynamic link in quotation item --- .../selling/doctype/quotation_item/quotation_item.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/erpnext/selling/doctype/quotation_item/quotation_item.json b/erpnext/selling/doctype/quotation_item/quotation_item.json index 29b7d7cfb3..17208b7810 100644 --- a/erpnext/selling/doctype/quotation_item/quotation_item.json +++ b/erpnext/selling/doctype/quotation_item/quotation_item.json @@ -298,12 +298,13 @@ }, { "fieldname": "prevdoc_doctype", - "fieldtype": "Data", + "fieldtype": "Link", "hidden": 1, "label": "Against Doctype", "no_copy": 1, "oldfieldname": "prevdoc_doctype", "oldfieldtype": "Data", + "options": "DocType", "permlevel": 0, "print_hide": 1, "print_width": "150px", @@ -313,11 +314,12 @@ }, { "fieldname": "prevdoc_docname", - "fieldtype": "Data", + "fieldtype": "Dynamic Link", "label": "Against Docname", "no_copy": 1, "oldfieldname": "prevdoc_docname", "oldfieldtype": "Data", + "options": "prevdoc_doctype", "permlevel": 0, "print_hide": 1, "print_width": "150px", @@ -390,7 +392,7 @@ ], "idx": 1, "istable": 1, - "modified": "2015-05-27 02:47:15.474119", + "modified": "2015-06-01 18:22:28.595765", "modified_by": "Administrator", "module": "Selling", "name": "Quotation Item",