fix: added crm note doctype

This commit is contained in:
Shariq Ansari 2023-08-26 12:07:57 +05:30
parent 1154bce89c
commit eb66f8ace5
5 changed files with 81 additions and 0 deletions

View File

View File

@ -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 Note", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,55 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2023-08-26 12:04:00.759437",
"default_view": "List",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"title",
"content"
],
"fields": [
{
"fieldname": "title",
"fieldtype": "Data",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Title"
},
{
"fieldname": "content",
"fieldtype": "Text Editor",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Content"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-08-26 12:06:59.674655",
"modified_by": "Administrator",
"module": "CRM",
"name": "CRM Note",
"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": [],
"title_field": "title",
"track_changes": 1
}

View File

@ -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 CRMNote(Document):
pass

View File

@ -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 TestCRMNote(FrappeTestCase):
pass