diff --git a/crm/fcrm/doctype/crm_fields_layout/__init__.py b/crm/fcrm/doctype/crm_fields_layout/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.js b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.js new file mode 100644 index 00000000..6a3abeb8 --- /dev/null +++ b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.js @@ -0,0 +1,8 @@ +// Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("CRM Fields Layout", { +// refresh(frm) { + +// }, +// }); diff --git a/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.json b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.json new file mode 100644 index 00000000..c780557a --- /dev/null +++ b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.json @@ -0,0 +1,73 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "format:{dt}-{type}", + "creation": "2024-06-07 16:42:05.495324", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "dt", + "column_break_post", + "type", + "section_break_ttpm", + "layout" + ], + "fields": [ + { + "fieldname": "dt", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Document Type", + "options": "DocType", + "unique": 1 + }, + { + "fieldname": "type", + "fieldtype": "Select", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Type", + "options": "Quick Entry\nSide Panel" + }, + { + "fieldname": "section_break_ttpm", + "fieldtype": "Section Break" + }, + { + "fieldname": "layout", + "fieldtype": "Code", + "label": "Layout", + "options": "JS" + }, + { + "fieldname": "column_break_post", + "fieldtype": "Column Break" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2024-06-07 17:01:20.250697", + "modified_by": "Administrator", + "module": "FCRM", + "name": "CRM Fields Layout", + "naming_rule": "Expression", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "creation", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file diff --git a/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py new file mode 100644 index 00000000..36d8bb72 --- /dev/null +++ b/crm/fcrm/doctype/crm_fields_layout/crm_fields_layout.py @@ -0,0 +1,9 @@ +# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class CRMFieldsLayout(Document): + pass diff --git a/crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py b/crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py new file mode 100644 index 00000000..bdc71c0a --- /dev/null +++ b/crm/fcrm/doctype/crm_fields_layout/test_crm_fields_layout.py @@ -0,0 +1,9 @@ +# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and Contributors +# See license.txt + +# import frappe +from frappe.tests.utils import FrappeTestCase + + +class TestCRMFieldsLayout(FrappeTestCase): + pass