refactor: made crm notification doctype generic
This commit is contained in:
parent
b889734cd1
commit
b910045b25
@ -5,14 +5,20 @@
|
|||||||
"doctype": "DocType",
|
"doctype": "DocType",
|
||||||
"engine": "InnoDB",
|
"engine": "InnoDB",
|
||||||
"field_order": [
|
"field_order": [
|
||||||
|
"notification_text",
|
||||||
|
"section_break_hace",
|
||||||
"from_user",
|
"from_user",
|
||||||
"type",
|
"type",
|
||||||
"reference_doctype",
|
|
||||||
"reference_name",
|
|
||||||
"column_break_dduu",
|
"column_break_dduu",
|
||||||
"to_user",
|
"to_user",
|
||||||
"comment",
|
|
||||||
"read",
|
"read",
|
||||||
|
"section_break_pbvx",
|
||||||
|
"reference_doctype",
|
||||||
|
"reference_name",
|
||||||
|
"column_break_eant",
|
||||||
|
"notification_type_doctype",
|
||||||
|
"notification_type_doc",
|
||||||
|
"comment",
|
||||||
"section_break_vpwa",
|
"section_break_vpwa",
|
||||||
"message"
|
"message"
|
||||||
],
|
],
|
||||||
@ -28,7 +34,7 @@
|
|||||||
"fieldtype": "Select",
|
"fieldtype": "Select",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Type",
|
"label": "Type",
|
||||||
"options": "Mention",
|
"options": "Mention\nWhatsApp",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -46,8 +52,8 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "comment",
|
"fieldname": "comment",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
|
"hidden": 1,
|
||||||
"label": "Comment",
|
"label": "Comment",
|
||||||
"link_filters": "[[{\"fieldname\":\"comment\",\"field_option\":\"Comment\"},\"comment_type\",\"=\",\"Comment\"]]",
|
|
||||||
"options": "Comment"
|
"options": "Comment"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -76,11 +82,40 @@
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Reference Doctype",
|
"label": "Reference Doctype",
|
||||||
"options": "DocType"
|
"options": "DocType"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "section_break_pbvx",
|
||||||
|
"fieldtype": "Section Break"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "column_break_eant",
|
||||||
|
"fieldtype": "Column Break"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "notification_type_doctype",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Notification Type Doctype",
|
||||||
|
"options": "DocType"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "notification_type_doc",
|
||||||
|
"fieldtype": "Dynamic Link",
|
||||||
|
"label": "Notification Type Doc",
|
||||||
|
"options": "notification_type_doctype"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "notification_text",
|
||||||
|
"fieldtype": "Text",
|
||||||
|
"label": "Notification Text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "section_break_hace",
|
||||||
|
"fieldtype": "Section Break"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-01-30 01:04:27.946030",
|
"modified": "2024-04-25 13:55:23.014268",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "FCRM",
|
"module": "FCRM",
|
||||||
"name": "CRM Notification",
|
"name": "CRM Notification",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user