v2.1: add SMS module + SMS Log doctype + fixtures: voxtelesys_sms_log.json

This commit is contained in:
Zac Gaetano 2026-05-12 00:11:38 -04:00
parent e472c06ad9
commit d59564eeea

View file

@ -0,0 +1,56 @@
{
"actions": [],
"autoname": "VTX-SMS-.#####",
"creation": "2026-05-12 00:00:00.000000",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"message_id",
"direction",
"status",
"column_break_1",
"from_number",
"to_number",
"section_break_body",
"body",
"section_break_timing",
"sent_at",
"received_at",
"column_break_2",
"error_code",
"error_message",
"section_break_links",
"links"
],
"fields": [
{"fieldname": "message_id", "fieldtype": "Data", "label": "Voxtelesys Message ID", "read_only": 1, "unique": 1},
{"fieldname": "direction", "fieldtype": "Select", "label": "Direction", "options": "Inbound\nOutbound", "in_list_view": 1, "in_standard_filter": 1},
{"fieldname": "status", "fieldtype": "Select", "label": "Status", "options": "\nQueued\nSending\nSent\nDelivered\nReceived\nUndelivered\nFailed", "in_list_view": 1, "in_standard_filter": 1},
{"fieldname": "column_break_1", "fieldtype": "Column Break"},
{"fieldname": "from_number", "fieldtype": "Data", "label": "From", "in_list_view": 1},
{"fieldname": "to_number", "fieldtype": "Data", "label": "To", "in_list_view": 1},
{"fieldname": "section_break_body", "fieldtype": "Section Break", "label": "Message"},
{"fieldname": "body", "fieldtype": "Long Text", "label": "Body"},
{"fieldname": "section_break_timing", "fieldtype": "Section Break", "label": "Timing"},
{"fieldname": "sent_at", "fieldtype": "Datetime", "label": "Sent At"},
{"fieldname": "received_at", "fieldtype": "Datetime", "label": "Received At"},
{"fieldname": "column_break_2", "fieldtype": "Column Break"},
{"fieldname": "error_code", "fieldtype": "Data", "label": "Error Code", "read_only": 1},
{"fieldname": "error_message", "fieldtype": "Small Text", "label": "Error Message", "read_only": 1},
{"fieldname": "section_break_links", "fieldtype": "Section Break", "label": "Linked Documents"},
{"fieldname": "links", "fieldtype": "Table", "label": "Links", "options": "Dynamic Link"}
],
"links": [],
"modified": "2026-05-12 00:00:00.000000",
"modified_by": "Administrator",
"module": "Voxtelesys Integration",
"name": "Voxtelesys SMS Log",
"owner": "Administrator",
"permissions": [
{"create": 1, "delete": 0, "email": 1, "export": 1, "print": 1, "read": 1, "report": 1, "role": "System Manager", "share": 1, "write": 1},
{"create": 1, "read": 1, "role": "Support Team", "write": 1}
],
"sort_field": "modified",
"sort_order": "DESC",
"track_changes": 1
}