feat: Sales Person field is now editable after submitting.

This commit is contained in:
noahjacob 2021-04-16 16:59:10 +05:30
parent e6fd3b86bd
commit 5ebc6abfad
2 changed files with 313 additions and 1031 deletions

View File

@ -1,222 +1,98 @@
{ {
"allow_copy": 0, "actions": [],
"allow_import": 0, "autoname": "hash",
"allow_rename": 0, "creation": "2013-02-22 01:28:05",
"autoname": "hash", "doctype": "DocType",
"beta": 0, "document_type": "Document",
"creation": "2013-02-22 01:28:05", "editable_grid": 1,
"custom": 0, "engine": "InnoDB",
"docstatus": 0, "field_order": [
"doctype": "DocType", "item_code",
"document_type": "Document", "item_name",
"editable_grid": 1, "scheduled_date",
"engine": "InnoDB", "actual_date",
"sales_person",
"serial_no"
],
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "columns": 2,
"bold": 0, "fieldname": "item_code",
"collapsible": 0, "fieldtype": "Link",
"columns": 0, "in_list_view": 1,
"fieldname": "item_code", "label": "Item Code",
"fieldtype": "Link", "oldfieldname": "item_code",
"hidden": 0, "oldfieldtype": "Link",
"ignore_user_permissions": 0, "options": "Item",
"ignore_xss_filter": 0, "read_only": 1,
"in_filter": 0, "search_index": 1
"in_global_search": 0, },
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Item Code",
"length": 0,
"no_copy": 0,
"oldfieldname": "item_code",
"oldfieldtype": "Link",
"options": "Item",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 1,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_on_submit": 0, "columns": 2,
"bold": 0, "fieldname": "item_name",
"collapsible": 0, "fieldtype": "Data",
"columns": 0, "in_global_search": 1,
"fieldname": "item_name", "in_list_view": 1,
"fieldtype": "Data", "label": "Item Name",
"hidden": 0, "oldfieldname": "item_name",
"ignore_user_permissions": 0, "oldfieldtype": "Data",
"ignore_xss_filter": 0, "read_only": 1
"in_filter": 0, },
"in_global_search": 1,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Item Name",
"length": 0,
"no_copy": 0,
"oldfieldname": "item_name",
"oldfieldtype": "Data",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_on_submit": 0, "columns": 2,
"bold": 0, "fieldname": "scheduled_date",
"collapsible": 0, "fieldtype": "Date",
"columns": 0, "in_list_view": 1,
"fieldname": "scheduled_date", "label": "Scheduled Date",
"fieldtype": "Date", "oldfieldname": "scheduled_date",
"hidden": 0, "oldfieldtype": "Date",
"ignore_user_permissions": 0, "reqd": 1,
"ignore_xss_filter": 0, "search_index": 1
"in_filter": 0, },
"in_global_search": 0,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Scheduled Date",
"length": 0,
"no_copy": 0,
"oldfieldname": "scheduled_date",
"oldfieldtype": "Date",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 1,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_on_submit": 0, "fieldname": "actual_date",
"bold": 0, "fieldtype": "Date",
"collapsible": 0, "label": "Actual Date",
"columns": 0, "no_copy": 1,
"fieldname": "actual_date", "oldfieldname": "actual_date",
"fieldtype": "Date", "oldfieldtype": "Date",
"hidden": 1, "print_hide": 1,
"ignore_user_permissions": 0, "read_only": 1,
"ignore_xss_filter": 0, "report_hide": 1
"in_filter": 0, },
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Actual Date",
"length": 0,
"no_copy": 1,
"oldfieldname": "actual_date",
"oldfieldtype": "Date",
"permlevel": 0,
"print_hide": 1,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 1,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_on_submit": 0, "allow_on_submit": 1,
"bold": 0, "columns": 2,
"collapsible": 0, "fieldname": "sales_person",
"columns": 0, "fieldtype": "Link",
"fieldname": "sales_person", "in_list_view": 1,
"fieldtype": "Link", "label": "Sales Person",
"hidden": 0, "oldfieldname": "incharge_name",
"ignore_user_permissions": 0, "oldfieldtype": "Link",
"ignore_xss_filter": 0, "options": "Sales Person"
"in_filter": 0, },
"in_global_search": 0,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Sales Person",
"length": 0,
"no_copy": 0,
"oldfieldname": "incharge_name",
"oldfieldtype": "Link",
"options": "Sales Person",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_on_submit": 0, "fieldname": "serial_no",
"bold": 0, "fieldtype": "Small Text",
"collapsible": 0, "in_list_view": 1,
"columns": 0, "label": "Serial No",
"fieldname": "serial_no", "oldfieldname": "serial_no",
"fieldtype": "Small Text", "oldfieldtype": "Small Text",
"hidden": 0, "print_width": "160px",
"ignore_user_permissions": 0, "read_only": 1,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Serial No",
"length": 0,
"no_copy": 0,
"oldfieldname": "serial_no",
"oldfieldtype": "Small Text",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": "160px",
"read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0,
"width": "160px" "width": "160px"
} }
], ],
"hide_heading": 0, "idx": 1,
"hide_toolbar": 0, "istable": 1,
"idx": 1, "links": [],
"image_view": 0, "modified": "2021-04-16 16:01:53.271287",
"in_create": 0, "modified_by": "Administrator",
"module": "Maintenance",
"is_submittable": 0, "name": "Maintenance Schedule Detail",
"issingle": 0, "owner": "Administrator",
"istable": 1, "permissions": [],
"max_attachments": 0, "sort_field": "modified",
"modified": "2017-02-17 17:05:44.644663", "sort_order": "DESC",
"modified_by": "Administrator", "track_changes": 1
"module": "Maintenance",
"name": "Maintenance Schedule Detail",
"owner": "Administrator",
"permissions": [],
"quick_entry": 0,
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"track_changes": 1,
"track_seen": 0
} }