From be0001ece66bcbf20506cca7bfbd461d8a7ba97c Mon Sep 17 00:00:00 2001 From: Himanshu Warekar Date: Thu, 27 Jun 2019 22:59:52 +0530 Subject: [PATCH] fix: change to link field --- erpnext/support/web_form/issues/issues.json | 215 +++++++++++--------- 1 file changed, 116 insertions(+), 99 deletions(-) diff --git a/erpnext/support/web_form/issues/issues.json b/erpnext/support/web_form/issues/issues.json index 6d89d1180b..652114f738 100644 --- a/erpnext/support/web_form/issues/issues.json +++ b/erpnext/support/web_form/issues/issues.json @@ -1,111 +1,128 @@ { - "accept_payment": 0, - "allow_comments": 1, - "allow_delete": 1, - "allow_edit": 1, - "allow_incomplete": 0, - "allow_multiple": 1, - "allow_print": 0, - "amount": 0.0, - "amount_based_on_field": 0, - "breadcrumbs": "[{\"label\":_(\"Issues\"), \"route\":\"issues\"}]", - "creation": "2016-06-24 15:50:33.186483", - "doc_type": "Issue", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "introduction_text": "", - "is_standard": 1, - "login_required": 1, - "max_attachment_size": 0, - "modified": "2018-07-20 13:08:43.797886", - "modified_by": "Administrator", - "module": "Support", - "name": "issues", - "owner": "Administrator", - "published": 1, - "route": "issues", - "show_sidebar": 1, - "sidebar_items": [], - "success_message": "", - "success_url": "/issues", - "title": "Issue", + "accept_payment": 0, + "allow_comments": 1, + "allow_delete": 1, + "allow_edit": 1, + "allow_incomplete": 0, + "allow_multiple": 1, + "allow_print": 0, + "amount": 0.0, + "amount_based_on_field": 0, + "breadcrumbs": "[{\"label\":_(\"Issues\"), \"route\":\"issues\"}]", + "creation": "2016-06-24 15:50:33.186483", + "doc_type": "Issue", + "docstatus": 0, + "doctype": "Web Form", + "idx": 0, + "introduction_text": "", + "is_standard": 1, + "login_required": 1, + "max_attachment_size": 0, + "modified": "2019-06-27 22:58:49.609672", + "modified_by": "Administrator", + "module": "Support", + "name": "issues", + "owner": "Administrator", + "published": 1, + "route": "issues", + "route_to_success_link": 0, + "show_attachments": 0, + "show_in_grid": 0, + "show_sidebar": 1, + "sidebar_items": [], + "success_message": "", + "success_url": "/issues", + "title": "Issue", "web_form_fields": [ { - "fieldname": "subject", - "fieldtype": "Data", - "hidden": 0, - "label": "Subject", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 1 - }, + "allow_read_on_all_link_options": 0, + "fieldname": "subject", + "fieldtype": "Data", + "hidden": 0, + "label": "Subject", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 1, + "show_in_filter": 0 + }, { - "default": "Open", - "fieldname": "status", - "fieldtype": "Select", - "hidden": 0, - "label": "Status", - "max_length": 0, - "max_value": 0, - "options": "Open\nReplied\nHold\nClosed", - "read_only": 1, - "reqd": 0 - }, + "allow_read_on_all_link_options": 0, + "default": "Open", + "fieldname": "status", + "fieldtype": "Select", + "hidden": 0, + "label": "Status", + "max_length": 0, + "max_value": 0, + "options": "Open\nReplied\nHold\nClosed", + "read_only": 1, + "reqd": 0, + "show_in_filter": 0 + }, { - "fieldname": "customer", - "fieldtype": "Data", - "hidden": 0, - "label": "Customer", - "max_length": 0, - "max_value": 0, - "options": "Customer", - "read_only": 1, - "reqd": 0 - }, + "allow_read_on_all_link_options": 0, + "fieldname": "customer", + "fieldtype": "Data", + "hidden": 0, + "label": "Customer", + "max_length": 0, + "max_value": 0, + "options": "Customer", + "read_only": 1, + "reqd": 0, + "show_in_filter": 0 + }, { - "fieldname": "description", - "fieldtype": "Text", - "hidden": 0, - "label": "Description", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0 - }, + "allow_read_on_all_link_options": 0, + "fieldname": "description", + "fieldtype": "Text", + "hidden": 0, + "label": "Description", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 0, + "show_in_filter": 0 + }, { - "fieldname": "attachment", - "fieldtype": "Attach", - "hidden": 0, - "label": "Attachment", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0 - }, + "allow_read_on_all_link_options": 0, + "fieldname": "attachment", + "fieldtype": "Attach", + "hidden": 0, + "label": "Attachment", + "max_length": 0, + "max_value": 0, + "read_only": 0, + "reqd": 0, + "show_in_filter": 0 + }, { - "default": "Medium", - "fieldname": "priority", - "fieldtype": "Select", - "hidden": 0, - "label": "Priority", - "max_length": 0, - "max_value": 0, - "options": "Low\nMedium\nHigh", - "read_only": 0, - "reqd": 1 - }, + "allow_read_on_all_link_options": 0, + "default": "Medium", + "fieldname": "priority", + "fieldtype": "Link", + "hidden": 0, + "label": "Priority", + "max_length": 0, + "max_value": 0, + "options": "Issue Priority", + "read_only": 0, + "reqd": 1, + "show_in_filter": 0 + }, { - "default": "1", - "fieldname": "via_customer_portal", - "fieldtype": "Check", - "hidden": 1, - "label": "Via Customer Portal", - "max_length": 0, - "max_value": 0, - "read_only": 1, - "reqd": 0 + "allow_read_on_all_link_options": 0, + "default": "1", + "fieldname": "via_customer_portal", + "fieldtype": "Check", + "hidden": 1, + "label": "Via Customer Portal", + "max_length": 0, + "max_value": 0, + "read_only": 1, + "reqd": 0, + "show_in_filter": 0 } ] } \ No newline at end of file