diff --git a/crm/fcrm/doctype/crm_deal_status/__init__.py b/crm/fcrm/doctype/crm_deal_status/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/crm/fcrm/doctype/crm_deal_status/crm_deal_status.js b/crm/fcrm/doctype/crm_deal_status/crm_deal_status.js new file mode 100644 index 00000000..5033645f --- /dev/null +++ b/crm/fcrm/doctype/crm_deal_status/crm_deal_status.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("CRM Deal Status", { +// refresh(frm) { + +// }, +// }); diff --git a/crm/fcrm/doctype/crm_deal_status/crm_deal_status.json b/crm/fcrm/doctype/crm_deal_status/crm_deal_status.json new file mode 100644 index 00000000..d683bf68 --- /dev/null +++ b/crm/fcrm/doctype/crm_deal_status/crm_deal_status.json @@ -0,0 +1,62 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "field:deal_status", + "creation": "2023-11-29 11:24:55.543387", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "deal_status", + "color", + "position" + ], + "fields": [ + { + "default": "gray", + "fieldname": "color", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Color", + "options": "black\ngray\nblue\ngreen\nred\npink\norange\namber\nyellow\ncyan\nteal\nviolet\npurple" + }, + { + "fieldname": "deal_status", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Status", + "reqd": 1, + "unique": 1 + }, + { + "fieldname": "position", + "fieldtype": "Int", + "in_list_view": 1, + "label": "Position" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-11-29 12:52:03.070218", + "modified_by": "Administrator", + "module": "FCRM", + "name": "CRM Deal Status", + "naming_rule": "By fieldname", + "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": "modified", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file diff --git a/crm/fcrm/doctype/crm_deal_status/crm_deal_status.py b/crm/fcrm/doctype/crm_deal_status/crm_deal_status.py new file mode 100644 index 00000000..4386d698 --- /dev/null +++ b/crm/fcrm/doctype/crm_deal_status/crm_deal_status.py @@ -0,0 +1,9 @@ +# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class CRMDealStatus(Document): + pass diff --git a/crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py b/crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py new file mode 100644 index 00000000..b5463dc1 --- /dev/null +++ b/crm/fcrm/doctype/crm_deal_status/test_crm_deal_status.py @@ -0,0 +1,9 @@ +# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and Contributors +# See license.txt + +# import frappe +from frappe.tests.utils import FrappeTestCase + + +class TestCRMDealStatus(FrappeTestCase): + pass diff --git a/crm/fcrm/doctype/crm_lead_status/__init__.py b/crm/fcrm/doctype/crm_lead_status/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/crm/fcrm/doctype/crm_lead_status/crm_lead_status.js b/crm/fcrm/doctype/crm_lead_status/crm_lead_status.js new file mode 100644 index 00000000..24b63188 --- /dev/null +++ b/crm/fcrm/doctype/crm_lead_status/crm_lead_status.js @@ -0,0 +1,8 @@ +// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("CRM Lead Status", { +// refresh(frm) { + +// }, +// }); diff --git a/crm/fcrm/doctype/crm_lead_status/crm_lead_status.json b/crm/fcrm/doctype/crm_lead_status/crm_lead_status.json new file mode 100644 index 00000000..a13281ba --- /dev/null +++ b/crm/fcrm/doctype/crm_lead_status/crm_lead_status.json @@ -0,0 +1,63 @@ +{ + "actions": [], + "allow_rename": 1, + "autoname": "field:lead_status", + "creation": "2023-11-29 11:09:53.678414", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "lead_status", + "color", + "position" + ], + "fields": [ + { + "default": "gray", + "fieldname": "color", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Color", + "options": "black\ngray\nblue\ngreen\nred\npink\norange\namber\nyellow\ncyan\nteal\nviolet\npurple" + }, + { + "fieldname": "lead_status", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Status", + "reqd": 1, + "unique": 1 + }, + { + "default": "1", + "fieldname": "position", + "fieldtype": "Int", + "in_list_view": 1, + "label": "Position" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2023-11-29 12:52:25.641581", + "modified_by": "Administrator", + "module": "FCRM", + "name": "CRM Lead Status", + "naming_rule": "By fieldname", + "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": "modified", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file diff --git a/crm/fcrm/doctype/crm_lead_status/crm_lead_status.py b/crm/fcrm/doctype/crm_lead_status/crm_lead_status.py new file mode 100644 index 00000000..d4c8a332 --- /dev/null +++ b/crm/fcrm/doctype/crm_lead_status/crm_lead_status.py @@ -0,0 +1,9 @@ +# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class CRMLeadStatus(Document): + pass diff --git a/crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py b/crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py new file mode 100644 index 00000000..9cb24fd4 --- /dev/null +++ b/crm/fcrm/doctype/crm_lead_status/test_crm_lead_status.py @@ -0,0 +1,9 @@ +# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and Contributors +# See license.txt + +# import frappe +from frappe.tests.utils import FrappeTestCase + + +class TestCRMLeadStatus(FrappeTestCase): + pass