15 | Add new fields to IT Object DocType and to MSP Settings

This commit is contained in:
Jordi 2022-07-19 15:06:59 +02:00
parent 6a3e6308f3
commit 38f4a9bac4
2 changed files with 50 additions and 3 deletions

View File

@ -17,6 +17,8 @@
"customer", "customer",
"it_landscape", "it_landscape",
"location", "location",
"monitoring_section",
"oitc_output",
"description_section", "description_section",
"description", "description",
"image", "image",
@ -143,11 +145,22 @@
"fieldname": "oitc_host_uuid", "fieldname": "oitc_host_uuid",
"fieldtype": "Data", "fieldtype": "Data",
"label": "OITC Host UUID" "label": "OITC Host UUID"
},
{
"fieldname": "monitoring_section",
"fieldtype": "Column Break",
"label": "Monitoring"
},
{
"fieldname": "oitc_output",
"fieldtype": "HTML",
"label": "OITC Output",
"options": "<div id=\"oitc-output\">OITC output expected</div>"
} }
], ],
"image_field": "image", "image_field": "image",
"links": [], "links": [],
"modified": "2022-07-18 10:24:39.463386", "modified": "2022-07-18 15:05:40.504305",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "MSP", "module": "MSP",
"name": "IT Object", "name": "IT Object",

View File

@ -8,7 +8,12 @@
"field_order": [ "field_order": [
"open_it_cockpit_integration_section", "open_it_cockpit_integration_section",
"oitc_url", "oitc_url",
"oitc_api_key_header_string",
"oitc_api_key", "oitc_api_key",
"column_break_column",
"oitc_status_up_color",
"oitc_status_down_color",
"oitc_status_unreachable_color",
"qr_code_settings_section", "qr_code_settings_section",
"qr_code_dark_color", "qr_code_dark_color",
"qr_code_scale" "qr_code_scale"
@ -27,7 +32,8 @@
{ {
"fieldname": "oitc_api_key", "fieldname": "oitc_api_key",
"fieldtype": "Password", "fieldtype": "Password",
"label": "OITC API Key" "label": "OITC API Key",
"length": 200
}, },
{ {
"fieldname": "qr_code_settings_section", "fieldname": "qr_code_settings_section",
@ -43,12 +49,40 @@
"fieldname": "qr_code_scale", "fieldname": "qr_code_scale",
"fieldtype": "Int", "fieldtype": "Int",
"label": "QR Code Scale" "label": "QR Code Scale"
},
{
"default": "X-OITC-API ",
"fieldname": "oitc_api_key_header_string",
"fieldtype": "Read Only",
"label": "OITC API Key Header string",
"length": 100,
"options": "X-OITC-API "
},
{
"fieldname": "column_break_column",
"fieldtype": "Column Break",
"label": "Column Break"
},
{
"fieldname": "oitc_status_up_color",
"fieldtype": "Color",
"label": "OITC Status Up Color"
},
{
"fieldname": "oitc_status_down_color",
"fieldtype": "Color",
"label": "OITC Status Down Color"
},
{
"fieldname": "oitc_status_unreachable_color",
"fieldtype": "Color",
"label": "OITC Status Unreachable Color"
} }
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"issingle": 1, "issingle": 1,
"links": [], "links": [],
"modified": "2022-07-18 10:53:35.413597", "modified": "2022-07-19 12:16:04.805493",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "MSP", "module": "MSP",
"name": "MSP Settings", "name": "MSP Settings",