From cc6c792cd3aebfb1da07c9be572184eb7488134b Mon Sep 17 00:00:00 2001
From: Jordi Albert <63541019+jarg1023@users.noreply.github.com>
Date: Tue, 6 Sep 2022 16:50:02 +0200
Subject: [PATCH] #12 | Modify Doctypes to show new breadcrumbs for location to
simplify navigation
---
msp/msp/doctype/ip_network/ip_network.json | 10 +++++++++-
msp/msp/doctype/it_object/it_object.json | 10 +++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/msp/msp/doctype/ip_network/ip_network.json b/msp/msp/doctype/ip_network/ip_network.json
index 2cf5750..ae54fed 100644
--- a/msp/msp/doctype/ip_network/ip_network.json
+++ b/msp/msp/doctype/ip_network/ip_network.json
@@ -27,6 +27,7 @@
"it_landscape",
"description",
"customer",
+ "location_full_path",
"location",
"ip_network_reserved_ranges_section",
"ip_network_reserved_ranges_table",
@@ -172,10 +173,17 @@
"fieldtype": "HTML",
"label": "Usage Overview Table",
"options": "
Used IPs expected
"
+ },
+ {
+ "fetch_from": "location.html_full_path",
+ "fieldname": "location_full_path",
+ "fieldtype": "Text Editor",
+ "label": "Location Full Path",
+ "read_only": 1
}
],
"links": [],
- "modified": "2022-08-18 10:28:34.233288",
+ "modified": "2022-09-06 16:39:46.172950",
"modified_by": "Administrator",
"module": "MSP",
"name": "IP Network",
diff --git a/msp/msp/doctype/it_object/it_object.json b/msp/msp/doctype/it_object/it_object.json
index 35d9320..d5c0771 100644
--- a/msp/msp/doctype/it_object/it_object.json
+++ b/msp/msp/doctype/it_object/it_object.json
@@ -16,6 +16,7 @@
"item",
"customer",
"it_landscape",
+ "location_full_path",
"location",
"monitoring_section",
"oitc_output",
@@ -156,11 +157,18 @@
"fieldtype": "HTML",
"label": "OITC Output",
"options": "OITC output expected
"
+ },
+ {
+ "fetch_from": "location.html_full_path",
+ "fieldname": "location_full_path",
+ "fieldtype": "Text Editor",
+ "label": "Location Full Path",
+ "read_only": 1
}
],
"image_field": "image",
"links": [],
- "modified": "2022-07-18 15:05:40.504305",
+ "modified": "2022-09-06 16:18:52.084632",
"modified_by": "Administrator",
"module": "MSP",
"name": "IT Object",