diff --git a/crm/fcrm/doctype/crm_status_change_log/__init__.py b/crm/fcrm/doctype/crm_status_change_log/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/crm/fcrm/doctype/crm_status_change_log/crm_status_change_log.json b/crm/fcrm/doctype/crm_status_change_log/crm_status_change_log.json new file mode 100644 index 00000000..36da12b1 --- /dev/null +++ b/crm/fcrm/doctype/crm_status_change_log/crm_status_change_log.json @@ -0,0 +1,78 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2024-01-06 13:15:31.392201", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "from", + "to", + "from_date", + "to_date", + "column_break_mwmz", + "duration", + "last_status_change_log", + "log_owner" + ], + "fields": [ + { + "fieldname": "from", + "fieldtype": "Data", + "in_list_view": 1, + "label": "From" + }, + { + "fieldname": "from_date", + "fieldtype": "Datetime", + "in_list_view": 1, + "label": "From Date" + }, + { + "fieldname": "duration", + "fieldtype": "Duration", + "in_list_view": 1, + "label": "Duration" + }, + { + "fieldname": "column_break_mwmz", + "fieldtype": "Column Break" + }, + { + "fieldname": "to", + "fieldtype": "Data", + "in_list_view": 1, + "label": "To" + }, + { + "fieldname": "to_date", + "fieldtype": "Datetime", + "in_list_view": 1, + "label": "To Date" + }, + { + "fieldname": "last_status_change_log", + "fieldtype": "Link", + "label": "Last Status Change Log", + "options": "CRM Status Change Log" + }, + { + "fieldname": "log_owner", + "fieldtype": "Link", + "label": "Owner", + "options": "User" + } + ], + "index_web_pages_for_search": 1, + "istable": 1, + "links": [], + "modified": "2024-01-06 13:26:40.597277", + "modified_by": "Administrator", + "module": "FCRM", + "name": "CRM Status Change Log", + "owner": "Administrator", + "permissions": [], + "sort_field": "modified", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file diff --git a/crm/fcrm/doctype/crm_status_change_log/crm_status_change_log.py b/crm/fcrm/doctype/crm_status_change_log/crm_status_change_log.py new file mode 100644 index 00000000..56d1d91d --- /dev/null +++ b/crm/fcrm/doctype/crm_status_change_log/crm_status_change_log.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 CRMStatusChangeLog(Document): + pass