From 4e60535f860846b09d10428290626b0ac0f22215 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Sun, 20 Jul 2025 20:39:15 +0000 Subject: [PATCH] Fixed custom doctype --- dashboard/dashboard/doctype/__init__.py | 0 .../doctype/dashboard_icon/__init__.py | 0 .../dashboard_icon/dashboard_icon.json | 68 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 dashboard/dashboard/doctype/__init__.py create mode 100644 dashboard/dashboard/doctype/dashboard_icon/__init__.py create mode 100644 dashboard/dashboard/doctype/dashboard_icon/dashboard_icon.json diff --git a/dashboard/dashboard/doctype/__init__.py b/dashboard/dashboard/doctype/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/dashboard/dashboard/doctype/dashboard_icon/__init__.py b/dashboard/dashboard/doctype/dashboard_icon/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/dashboard/dashboard/doctype/dashboard_icon/dashboard_icon.json b/dashboard/dashboard/doctype/dashboard_icon/dashboard_icon.json new file mode 100644 index 0000000..499d1eb --- /dev/null +++ b/dashboard/dashboard/doctype/dashboard_icon/dashboard_icon.json @@ -0,0 +1,68 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2025-07-18 17:01:50.316355", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "label", + "url", + "icon", + "color", + "role" + ], + "fields": [ + { + "fieldname": "label", + "fieldtype": "Data", + "label": "Label" + }, + { + "fieldname": "url", + "fieldtype": "Data", + "label": "Link URL" + }, + { + "fieldname": "icon", + "fieldtype": "Data", + "label": "FontAwesome Icon" + }, + { + "fieldname": "color", + "fieldtype": "Color", + "label": "Color" + }, + { + "fieldname": "role", + "fieldtype": "Link", + "label": "Role", + "options": "Role" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "links": [], + "modified": "2025-07-20 16:33:38.419936", + "modified_by": "Administrator", + "module": "Dashboard", + "name": "Dashboard Icon", + "owner": "adam@seahavenind.com", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "row_format": "Dynamic", + "sort_field": "modified", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file