fix: enable track changes for issue doctype (#18290)

This commit is contained in:
Anurag Mishra 2019-07-12 14:29:20 +05:30 committed by Nabin Hait
parent f9e4391998
commit 70dbca2263

View File

@ -1,383 +1,384 @@
{ {
"allow_import": 1, "allow_import": 1,
"allow_rename": 1, "allow_rename": 1,
"autoname": "naming_series:", "autoname": "naming_series:",
"creation": "2013-02-01 10:36:25", "creation": "2013-02-01 10:36:25",
"doctype": "DocType", "doctype": "DocType",
"document_type": "Setup", "document_type": "Setup",
"engine": "InnoDB", "engine": "InnoDB",
"field_order": [ "field_order": [
"subject_section", "subject_section",
"naming_series", "naming_series",
"subject", "subject",
"customer", "customer",
"raised_by", "raised_by",
"cb00", "cb00",
"status", "status",
"priority", "priority",
"issue_type", "issue_type",
"sb_details", "sb_details",
"description", "description",
"service_level_section", "service_level_section",
"service_level_agreement", "service_level_agreement",
"response_by", "response_by",
"response_by_variance", "response_by_variance",
"reset_service_level_agreement", "reset_service_level_agreement",
"cb", "cb",
"agreement_fulfilled", "agreement_fulfilled",
"resolution_by", "resolution_by",
"resolution_by_variance", "resolution_by_variance",
"service_level_agreement_creation", "service_level_agreement_creation",
"response", "response",
"mins_to_first_response", "mins_to_first_response",
"first_responded_on", "first_responded_on",
"additional_info", "additional_info",
"lead", "lead",
"contact", "contact",
"email_account", "email_account",
"column_break_16", "column_break_16",
"customer_name", "customer_name",
"project", "project",
"company", "company",
"section_break_19", "section_break_19",
"resolution_details", "resolution_details",
"column_break1", "column_break1",
"opening_date", "opening_date",
"opening_time", "opening_time",
"resolution_date", "resolution_date",
"content_type", "content_type",
"attachment", "attachment",
"via_customer_portal" "via_customer_portal"
], ],
"fields": [ "fields": [
{ {
"fieldname": "subject_section", "fieldname": "subject_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Subject", "label": "Subject",
"options": "fa fa-flag" "options": "fa fa-flag"
}, },
{ {
"fieldname": "naming_series", "fieldname": "naming_series",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Series", "label": "Series",
"no_copy": 1, "no_copy": 1,
"options": "ISS-.YYYY.-", "options": "ISS-.YYYY.-",
"print_hide": 1, "print_hide": 1,
"set_only_once": 1 "set_only_once": 1
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "subject", "fieldname": "subject",
"fieldtype": "Data", "fieldtype": "Data",
"in_global_search": 1, "in_global_search": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Subject", "label": "Subject",
"reqd": 1 "reqd": 1
}, },
{ {
"fieldname": "customer", "fieldname": "customer",
"fieldtype": "Link", "fieldtype": "Link",
"in_global_search": 1, "in_global_search": 1,
"label": "Customer", "label": "Customer",
"oldfieldname": "customer", "oldfieldname": "customer",
"oldfieldtype": "Link", "oldfieldtype": "Link",
"options": "Customer", "options": "Customer",
"print_hide": 1, "print_hide": 1,
"search_index": 1 "search_index": 1
}, },
{ {
"bold": 1, "bold": 1,
"depends_on": "eval:doc.__islocal", "depends_on": "eval:doc.__islocal",
"fieldname": "raised_by", "fieldname": "raised_by",
"fieldtype": "Data", "fieldtype": "Data",
"in_global_search": 1, "in_global_search": 1,
"in_list_view": 1, "in_list_view": 1,
"label": "Raised By (Email)", "label": "Raised By (Email)",
"oldfieldname": "raised_by", "oldfieldname": "raised_by",
"oldfieldtype": "Data", "oldfieldtype": "Data",
"options": "Email" "options": "Email"
}, },
{ {
"fieldname": "cb00", "fieldname": "cb00",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"default": "Open", "default": "Open",
"fieldname": "status", "fieldname": "status",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1, "in_list_view": 1,
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Status", "label": "Status",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "status", "oldfieldname": "status",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"options": "Open\nReplied\nHold\nClosed", "options": "Open\nReplied\nHold\nClosed",
"search_index": 1 "search_index": 1
}, },
{ {
"default": "Medium", "default": "Medium",
"fieldname": "priority", "fieldname": "priority",
"fieldtype": "Link", "fieldtype": "Link",
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Priority", "label": "Priority",
"options": "Issue Priority" "options": "Issue Priority"
}, },
{ {
"fieldname": "issue_type", "fieldname": "issue_type",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Issue Type", "label": "Issue Type",
"options": "Issue Type" "options": "Issue Type"
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "eval:doc.status!=\"Closed\"", "collapsible_depends_on": "eval:doc.status!=\"Closed\"",
"fieldname": "sb_details", "fieldname": "sb_details",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Details" "label": "Details"
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "description", "fieldname": "description",
"fieldtype": "Text Editor", "fieldtype": "Text Editor",
"in_global_search": 1, "in_global_search": 1,
"label": "Description", "label": "Description",
"oldfieldname": "problem_description", "oldfieldname": "problem_description",
"oldfieldtype": "Text" "oldfieldtype": "Text"
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "service_level_section", "fieldname": "service_level_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Service Level" "label": "Service Level"
}, },
{ {
"fieldname": "service_level_agreement", "fieldname": "service_level_agreement",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Service Level Agreement", "label": "Service Level Agreement",
"options": "Service Level Agreement" "options": "Service Level Agreement"
}, },
{ {
"fieldname": "response_by", "fieldname": "response_by",
"fieldtype": "Datetime", "fieldtype": "Datetime",
"label": "Response By", "label": "Response By",
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "cb", "fieldname": "cb",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"options": "fa fa-pushpin", "options": "fa fa-pushpin",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "resolution_by", "fieldname": "resolution_by",
"fieldtype": "Datetime", "fieldtype": "Datetime",
"label": "Resolution By", "label": "Resolution By",
"read_only": 1 "read_only": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "response", "fieldname": "response",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Response" "label": "Response"
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "mins_to_first_response", "fieldname": "mins_to_first_response",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Mins to First Response", "label": "Mins to First Response",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "first_responded_on", "fieldname": "first_responded_on",
"fieldtype": "Datetime", "fieldtype": "Datetime",
"label": "First Responded On" "label": "First Responded On"
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "additional_info", "fieldname": "additional_info",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Reference", "label": "Reference",
"options": "fa fa-pushpin", "options": "fa fa-pushpin",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "lead", "fieldname": "lead",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Lead", "label": "Lead",
"options": "Lead" "options": "Lead"
}, },
{ {
"fieldname": "contact", "fieldname": "contact",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Contact", "label": "Contact",
"options": "Contact" "options": "Contact"
}, },
{ {
"fieldname": "email_account", "fieldname": "email_account",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Email Account", "label": "Email Account",
"options": "Email Account" "options": "Email Account"
}, },
{ {
"fieldname": "column_break_16", "fieldname": "column_break_16",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"bold": 1, "bold": 1,
"fieldname": "customer_name", "fieldname": "customer_name",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Customer Name", "label": "Customer Name",
"oldfieldname": "customer_name", "oldfieldname": "customer_name",
"oldfieldtype": "Data", "oldfieldtype": "Data",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "project", "fieldname": "project",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Project", "label": "Project",
"options": "Project" "options": "Project"
}, },
{ {
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Company", "label": "Company",
"options": "Company", "options": "Company",
"print_hide": 1 "print_hide": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "section_break_19", "fieldname": "section_break_19",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Resolution" "label": "Resolution"
}, },
{ {
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"fieldname": "resolution_details", "fieldname": "resolution_details",
"fieldtype": "Text Editor", "fieldtype": "Text Editor",
"label": "Resolution Details", "label": "Resolution Details",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "resolution_details", "oldfieldname": "resolution_details",
"oldfieldtype": "Text" "oldfieldtype": "Text"
}, },
{ {
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"fieldname": "column_break1", "fieldname": "column_break1",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"oldfieldtype": "Column Break", "oldfieldtype": "Column Break",
"read_only": 1 "read_only": 1
}, },
{ {
"default": "Today", "default": "Today",
"fieldname": "opening_date", "fieldname": "opening_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Opening Date", "label": "Opening Date",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "opening_date", "oldfieldname": "opening_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "opening_time", "fieldname": "opening_time",
"fieldtype": "Time", "fieldtype": "Time",
"label": "Opening Time", "label": "Opening Time",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "opening_time", "oldfieldname": "opening_time",
"oldfieldtype": "Time", "oldfieldtype": "Time",
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"fieldname": "resolution_date", "fieldname": "resolution_date",
"fieldtype": "Datetime", "fieldtype": "Datetime",
"label": "Resolution Date", "label": "Resolution Date",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "resolution_date", "oldfieldname": "resolution_date",
"oldfieldtype": "Date", "oldfieldtype": "Date",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "content_type", "fieldname": "content_type",
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 1, "hidden": 1,
"label": "Content Type" "label": "Content Type"
}, },
{ {
"fieldname": "attachment", "fieldname": "attachment",
"fieldtype": "Attach", "fieldtype": "Attach",
"hidden": 1, "hidden": 1,
"label": "Attachment" "label": "Attachment"
}, },
{ {
"default": "0", "default": "0",
"fieldname": "via_customer_portal", "fieldname": "via_customer_portal",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Via Customer Portal" "label": "Via Customer Portal"
}, },
{ {
"default": "Ongoing", "default": "Ongoing",
"depends_on": "eval: doc.service_level_agreement", "depends_on": "eval: doc.service_level_agreement",
"fieldname": "agreement_fulfilled", "fieldname": "agreement_fulfilled",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Service Level Agreement Fulfilled", "label": "Service Level Agreement Fulfilled",
"options": "Ongoing\nFulfilled\nFailed", "options": "Ongoing\nFulfilled\nFailed",
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval: doc.service_level_agreement", "depends_on": "eval: doc.service_level_agreement",
"description": "in hours", "description": "in hours",
"fieldname": "response_by_variance", "fieldname": "response_by_variance",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Response By Variance", "label": "Response By Variance",
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval: doc.service_level_agreement", "depends_on": "eval: doc.service_level_agreement",
"description": "in hours", "description": "in hours",
"fieldname": "resolution_by_variance", "fieldname": "resolution_by_variance",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Resolution By Variance", "label": "Resolution By Variance",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "service_level_agreement_creation", "fieldname": "service_level_agreement_creation",
"fieldtype": "Datetime", "fieldtype": "Datetime",
"hidden": 1, "hidden": 1,
"label": "Service Level Agreement Creation", "label": "Service Level Agreement Creation",
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval: doc.service_level_agreement", "depends_on": "eval: doc.service_level_agreement",
"fieldname": "reset_service_level_agreement", "fieldname": "reset_service_level_agreement",
"fieldtype": "Button", "fieldtype": "Button",
"label": "Reset Service Level Agreement" "label": "Reset Service Level Agreement"
} }
], ],
"icon": "fa fa-ticket", "icon": "fa fa-ticket",
"idx": 7, "idx": 7,
"modified": "2019-07-11 23:57:22.015881", "modified": "2019-07-11 23:57:22.015881",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Support", "module": "Support",
"name": "Issue", "name": "Issue",
"owner": "Administrator", "owner": "Administrator",
"permissions": [ "permissions": [
{ {
"create": 1, "create": 1,
"delete": 1, "delete": 1,
"email": 1, "email": 1,
"print": 1, "print": 1,
"read": 1, "read": 1,
"report": 1, "report": 1,
"role": "Support Team", "role": "Support Team",
"share": 1, "share": 1,
"write": 1 "write": 1
} }
], ],
"quick_entry": 1, "quick_entry": 1,
"search_fields": "status,customer,subject,raised_by", "search_fields": "status,customer,subject,raised_by",
"sort_field": "modified", "sort_field": "modified",
"sort_order": "ASC", "sort_order": "ASC",
"timeline_field": "customer", "timeline_field": "customer",
"title_field": "subject", "title_field": "subject",
"track_seen": 1 "track_changes": 1,
} "track_seen": 1
}