fix: change to link field

This commit is contained in:
Himanshu Warekar 2019-06-27 22:59:52 +05:30
parent ce9cdfb056
commit be0001ece6

View File

@ -1,111 +1,128 @@
{ {
"accept_payment": 0, "accept_payment": 0,
"allow_comments": 1, "allow_comments": 1,
"allow_delete": 1, "allow_delete": 1,
"allow_edit": 1, "allow_edit": 1,
"allow_incomplete": 0, "allow_incomplete": 0,
"allow_multiple": 1, "allow_multiple": 1,
"allow_print": 0, "allow_print": 0,
"amount": 0.0, "amount": 0.0,
"amount_based_on_field": 0, "amount_based_on_field": 0,
"breadcrumbs": "[{\"label\":_(\"Issues\"), \"route\":\"issues\"}]", "breadcrumbs": "[{\"label\":_(\"Issues\"), \"route\":\"issues\"}]",
"creation": "2016-06-24 15:50:33.186483", "creation": "2016-06-24 15:50:33.186483",
"doc_type": "Issue", "doc_type": "Issue",
"docstatus": 0, "docstatus": 0,
"doctype": "Web Form", "doctype": "Web Form",
"idx": 0, "idx": 0,
"introduction_text": "", "introduction_text": "",
"is_standard": 1, "is_standard": 1,
"login_required": 1, "login_required": 1,
"max_attachment_size": 0, "max_attachment_size": 0,
"modified": "2018-07-20 13:08:43.797886", "modified": "2019-06-27 22:58:49.609672",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Support", "module": "Support",
"name": "issues", "name": "issues",
"owner": "Administrator", "owner": "Administrator",
"published": 1, "published": 1,
"route": "issues", "route": "issues",
"show_sidebar": 1, "route_to_success_link": 0,
"sidebar_items": [], "show_attachments": 0,
"success_message": "", "show_in_grid": 0,
"success_url": "/issues", "show_sidebar": 1,
"title": "Issue", "sidebar_items": [],
"success_message": "",
"success_url": "/issues",
"title": "Issue",
"web_form_fields": [ "web_form_fields": [
{ {
"fieldname": "subject", "allow_read_on_all_link_options": 0,
"fieldtype": "Data", "fieldname": "subject",
"hidden": 0, "fieldtype": "Data",
"label": "Subject", "hidden": 0,
"max_length": 0, "label": "Subject",
"max_value": 0, "max_length": 0,
"read_only": 0, "max_value": 0,
"reqd": 1 "read_only": 0,
}, "reqd": 1,
"show_in_filter": 0
},
{ {
"default": "Open", "allow_read_on_all_link_options": 0,
"fieldname": "status", "default": "Open",
"fieldtype": "Select", "fieldname": "status",
"hidden": 0, "fieldtype": "Select",
"label": "Status", "hidden": 0,
"max_length": 0, "label": "Status",
"max_value": 0, "max_length": 0,
"options": "Open\nReplied\nHold\nClosed", "max_value": 0,
"read_only": 1, "options": "Open\nReplied\nHold\nClosed",
"reqd": 0 "read_only": 1,
}, "reqd": 0,
"show_in_filter": 0
},
{ {
"fieldname": "customer", "allow_read_on_all_link_options": 0,
"fieldtype": "Data", "fieldname": "customer",
"hidden": 0, "fieldtype": "Data",
"label": "Customer", "hidden": 0,
"max_length": 0, "label": "Customer",
"max_value": 0, "max_length": 0,
"options": "Customer", "max_value": 0,
"read_only": 1, "options": "Customer",
"reqd": 0 "read_only": 1,
}, "reqd": 0,
"show_in_filter": 0
},
{ {
"fieldname": "description", "allow_read_on_all_link_options": 0,
"fieldtype": "Text", "fieldname": "description",
"hidden": 0, "fieldtype": "Text",
"label": "Description", "hidden": 0,
"max_length": 0, "label": "Description",
"max_value": 0, "max_length": 0,
"read_only": 0, "max_value": 0,
"reqd": 0 "read_only": 0,
}, "reqd": 0,
"show_in_filter": 0
},
{ {
"fieldname": "attachment", "allow_read_on_all_link_options": 0,
"fieldtype": "Attach", "fieldname": "attachment",
"hidden": 0, "fieldtype": "Attach",
"label": "Attachment", "hidden": 0,
"max_length": 0, "label": "Attachment",
"max_value": 0, "max_length": 0,
"read_only": 0, "max_value": 0,
"reqd": 0 "read_only": 0,
}, "reqd": 0,
"show_in_filter": 0
},
{ {
"default": "Medium", "allow_read_on_all_link_options": 0,
"fieldname": "priority", "default": "Medium",
"fieldtype": "Select", "fieldname": "priority",
"hidden": 0, "fieldtype": "Link",
"label": "Priority", "hidden": 0,
"max_length": 0, "label": "Priority",
"max_value": 0, "max_length": 0,
"options": "Low\nMedium\nHigh", "max_value": 0,
"read_only": 0, "options": "Issue Priority",
"reqd": 1 "read_only": 0,
}, "reqd": 1,
"show_in_filter": 0
},
{ {
"default": "1", "allow_read_on_all_link_options": 0,
"fieldname": "via_customer_portal", "default": "1",
"fieldtype": "Check", "fieldname": "via_customer_portal",
"hidden": 1, "fieldtype": "Check",
"label": "Via Customer Portal", "hidden": 1,
"max_length": 0, "label": "Via Customer Portal",
"max_value": 0, "max_length": 0,
"read_only": 1, "max_value": 0,
"reqd": 0 "read_only": 1,
"reqd": 0,
"show_in_filter": 0
} }
] ]
} }