mirror of
https://github.com/itsdave-de/msp.git
synced 2025-05-06 15:35:12 +02:00
Links to IT Object
This commit is contained in:
parent
dee28fd6c7
commit
f12d0b805f
@ -23,6 +23,8 @@
|
|||||||
"description_section",
|
"description_section",
|
||||||
"description",
|
"description",
|
||||||
"image",
|
"image",
|
||||||
|
"linked_objects_section",
|
||||||
|
"linked_objects",
|
||||||
"network_config_section",
|
"network_config_section",
|
||||||
"ip_adresses",
|
"ip_adresses",
|
||||||
"external_links_section",
|
"external_links_section",
|
||||||
@ -164,11 +166,22 @@
|
|||||||
"fieldtype": "Text Editor",
|
"fieldtype": "Text Editor",
|
||||||
"label": "Location Full Path",
|
"label": "Location Full Path",
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "linked_objects_section",
|
||||||
|
"fieldtype": "Section Break",
|
||||||
|
"label": "Linked Objects"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "linked_objects",
|
||||||
|
"fieldtype": "Table",
|
||||||
|
"label": "Linked Objects",
|
||||||
|
"options": "IT Object Linked Object"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"image_field": "image",
|
"image_field": "image",
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2022-09-06 16:18:52.084632",
|
"modified": "2023-03-02 09:58:05.589925",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "MSP",
|
"module": "MSP",
|
||||||
"name": "IT Object",
|
"name": "IT Object",
|
||||||
|
0
msp/msp/doctype/it_object_linked_object/__init__.py
Normal file
0
msp/msp/doctype/it_object_linked_object/__init__.py
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"actions": [],
|
||||||
|
"allow_rename": 1,
|
||||||
|
"creation": "2023-03-02 09:56:16.925783",
|
||||||
|
"doctype": "DocType",
|
||||||
|
"editable_grid": 1,
|
||||||
|
"engine": "InnoDB",
|
||||||
|
"field_order": [
|
||||||
|
"document_type",
|
||||||
|
"document_id",
|
||||||
|
"title",
|
||||||
|
"description"
|
||||||
|
],
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"fieldname": "document_type",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"in_standard_filter": 1,
|
||||||
|
"label": "Document Type",
|
||||||
|
"options": "DocType"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "document_id",
|
||||||
|
"fieldtype": "Dynamic Link",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"in_standard_filter": 1,
|
||||||
|
"label": "Document ID",
|
||||||
|
"options": "document_type"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "title",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"in_standard_filter": 1,
|
||||||
|
"label": "Title"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "description",
|
||||||
|
"fieldtype": "Markdown Editor",
|
||||||
|
"label": "Description"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"index_web_pages_for_search": 1,
|
||||||
|
"istable": 1,
|
||||||
|
"links": [],
|
||||||
|
"modified": "2023-03-02 09:58:50.098939",
|
||||||
|
"modified_by": "Administrator",
|
||||||
|
"module": "MSP",
|
||||||
|
"name": "IT Object Linked Object",
|
||||||
|
"owner": "Administrator",
|
||||||
|
"permissions": [],
|
||||||
|
"sort_field": "modified",
|
||||||
|
"sort_order": "DESC"
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright (c) 2023, itsdave GmbH and contributors
|
||||||
|
# For license information, please see license.txt
|
||||||
|
|
||||||
|
# import frappe
|
||||||
|
from frappe.model.document import Document
|
||||||
|
|
||||||
|
class ITObjectLinkedObject(Document):
|
||||||
|
pass
|
Loading…
x
Reference in New Issue
Block a user