Add previews & use generic doc name with autonumber

This commit is contained in:
meichthys 2025-11-07 06:11:33 +00:00
parent 34359aa8ab
commit 8bf5bde083
17 changed files with 91 additions and 50 deletions

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{date} - {#####}",
"autoname": "format:Letter {#}",
"creation": "2025-09-23 21:49:59.122163",
"description": "A letter sent to the church.",
"doctype": "DocType",
@ -94,7 +94,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2025-10-03 23:08:55.266412",
"modified": "2025-11-06 23:17:32.698232",
"modified_by": "Administrator",
"module": "Church Communications",
"name": "Church Letter",

View File

@ -1,6 +1,6 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:Presentation {#}",
"creation": "2025-10-10 23:07:31.392203",
"description": "A slideshow presentation of `Church Presentation Slide`s",
"doctype": "DocType",
@ -30,10 +30,11 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-10 23:08:52.988817",
"modified": "2025-11-06 23:12:13.585382",
"modified_by": "Administrator",
"module": "Church Communications",
"name": "Church Presentation",
"naming_rule": "Expression",
"owner": "Administrator",
"permissions": [
{
@ -50,9 +51,11 @@
}
],
"row_format": "Dynamic",
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "title",
"track_changes": 1,
"track_views": 1
}

View File

@ -1,6 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:Presentation Slide {#}",
"creation": "2025-10-10 22:47:37.269992",
"description": "A presentation slide to be displayed in the Church",
"doctype": "DocType",
@ -28,10 +29,11 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2025-10-10 22:52:46.198898",
"modified": "2025-11-06 23:17:49.110489",
"modified_by": "Administrator",
"module": "Church Communications",
"name": "Church Presentation Slide",
"naming_rule": "Expression",
"owner": "Administrator",
"permissions": [],
"row_format": "Dynamic",

View File

@ -23,6 +23,7 @@
"fieldname": "event",
"fieldtype": "Link",
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Event",
"options": "Church Event",
@ -71,6 +72,7 @@
{
"fieldname": "notes",
"fieldtype": "Small Text",
"in_preview": 1,
"label": "Notes"
},
{
@ -88,7 +90,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2025-10-09 22:56:43.397335",
"modified": "2025-11-07 00:59:47.190898",
"modified_by": "Administrator",
"module": "Church Finances",
"name": "Church Collection",
@ -109,6 +111,7 @@
}
],
"row_format": "Dynamic",
"show_preview_popup": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{fund}",
"autoname": "format:Fund {#}",
"creation": "2025-09-02 01:11:30.383380",
"description": "Financial funds of the church (i.e. General, Trust, etc).",
"doctype": "DocType",
@ -28,6 +28,7 @@
"allow_in_quick_entry": 1,
"fieldname": "description",
"fieldtype": "Small Text",
"in_preview": 1,
"label": "Description"
},
{
@ -38,17 +39,20 @@
"allow_in_quick_entry": 1,
"fieldname": "start_date",
"fieldtype": "Date",
"in_preview": 1,
"label": "Start Date"
},
{
"allow_in_quick_entry": 1,
"fieldname": "end_date",
"fieldtype": "Date",
"in_preview": 1,
"label": "End Date"
},
{
"fieldname": "balance",
"fieldtype": "Currency",
"in_preview": 1,
"label": "Balance"
},
{
@ -71,7 +75,7 @@
"table_fieldname": "donations"
}
],
"modified": "2025-10-01 23:11:07.400554",
"modified": "2025-11-07 01:04:19.321436",
"modified_by": "Administrator",
"module": "Church Finances",
"name": "Church Fund",
@ -93,8 +97,11 @@
],
"quick_entry": 1,
"row_format": "Dynamic",
"show_preview_popup": 1,
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "fund",
"track_changes": 1
}

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{title}",
"autoname": "format:Belief {#}",
"creation": "2025-09-17 21:36:27.516552",
"description": "Specific beliefs of the church",
"doctype": "DocType",
@ -41,7 +41,7 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-08 23:50:02.373662",
"modified": "2025-11-07 00:54:50.636078",
"modified_by": "Administrator",
"module": "Church Foundations",
"name": "Church Belief",
@ -62,8 +62,10 @@
}
],
"row_format": "Dynamic",
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "title",
"track_changes": 1
}

View File

@ -1,7 +1,6 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{start_date} ({type}) - {event_name}",
"creation": "2025-08-31 23:40:34.324092",
"description": "Any kind of church gathering. This includes regular services as well as one-off events.",
"doctype": "DocType",
@ -52,17 +51,20 @@
"in_standard_filter": 1,
"label": "Type",
"options": "Church Event Type",
"reqd": 1
"reqd": 1,
"search_index": 1
},
{
"fieldname": "address",
"fieldtype": "Link",
"in_preview": 1,
"label": "Address",
"options": "Address"
},
{
"fieldname": "description",
"fieldtype": "Small Text",
"in_preview": 1,
"label": "Description"
},
{
@ -71,6 +73,7 @@
"fieldname": "start_date",
"fieldtype": "Date",
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Start Date",
"reqd": 1
@ -80,6 +83,7 @@
"depends_on": "eval:!doc.all_day",
"fieldname": "start_time",
"fieldtype": "Time",
"in_preview": 1,
"label": "Start Time",
"mandatory_depends_on": "eval:!doc.all_day"
},
@ -87,6 +91,7 @@
"allow_in_quick_entry": 1,
"fieldname": "end_date",
"fieldtype": "Date",
"in_preview": 1,
"label": "End Date"
},
{
@ -94,6 +99,7 @@
"depends_on": "eval:!doc.all_day",
"fieldname": "end_time",
"fieldtype": "Time",
"in_preview": 1,
"label": "End Time"
},
{
@ -127,17 +133,12 @@
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [
{
"link_doctype": "Church Collection",
"link_fieldname": "event"
}
],
"modified": "2025-10-08 23:02:44.654729",
"links": [],
"modified": "2025-11-07 00:51:39.436631",
"modified_by": "Administrator",
"module": "Church Ministries",
"name": "Church Event",
"naming_rule": "Expression",
"naming_rule": "By script",
"owner": "Administrator",
"permissions": [
{
@ -154,6 +155,7 @@
}
],
"row_format": "Dynamic",
"show_preview_popup": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{type}",
"autoname": "format:Event Type {#}",
"creation": "2025-08-31 23:41:14.325452",
"description": "Types of church events (i.e Sunday services, community events, private events, etc)",
"doctype": "DocType",
@ -54,7 +54,7 @@
"link_fieldname": "type"
}
],
"modified": "2025-10-07 22:26:25.870247",
"modified": "2025-11-07 00:07:24.441939",
"modified_by": "Administrator",
"module": "Church Ministries",
"name": "Church Event Type",
@ -76,7 +76,9 @@
],
"quick_entry": 1,
"row_format": "Dynamic",
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": []
"states": [],
"title_field": "type"
}

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{title} - {####}",
"autoname": "format:Song {#}",
"creation": "2025-10-10 22:36:42.168218",
"description": "A song sung by the Church as part of worship or a `Church Event`",
"doctype": "DocType",
@ -56,7 +56,7 @@
"link_fieldname": "item"
}
],
"modified": "2025-10-10 23:01:57.771243",
"modified": "2025-11-06 23:18:30.771665",
"modified_by": "Administrator",
"module": "Church Ministries",
"name": "Church Song",
@ -77,9 +77,11 @@
}
],
"row_format": "Dynamic",
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "title",
"track_changes": 1,
"track_views": 1
}

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{title}",
"autoname": "format:Missionary {#}",
"creation": "2025-09-18 22:33:05.489158",
"description": "Missionaries of the church.",
"doctype": "DocType",
@ -32,7 +32,8 @@
"in_preview": 1,
"in_standard_filter": 1,
"label": "Agency",
"options": "Church Missionary Agency"
"options": "Church Missionary Agency",
"search_index": 1
},
{
"fieldname": "country",
@ -90,6 +91,7 @@
{
"fieldname": "data_btqw",
"fieldtype": "Data",
"in_preview": 1,
"label": "Email",
"options": "Email"
},
@ -113,12 +115,14 @@
{
"fieldname": "support_amount",
"fieldtype": "Currency",
"in_preview": 1,
"label": "Support Amount",
"non_negative": 1
},
{
"fieldname": "support_frequency",
"fieldtype": "Link",
"in_preview": 1,
"label": "Support Frequency",
"mandatory_depends_on": "eval: doc.support_amount>0;",
"options": "Church Missionary Support Frequency"
@ -128,7 +132,7 @@
"image_field": "photo",
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-02 22:27:52.752228",
"modified": "2025-11-07 00:14:20.039375",
"modified_by": "Administrator",
"module": "Church Missions",
"name": "Church Missionary",
@ -149,8 +153,11 @@
}
],
"row_format": "Dynamic",
"show_preview_popup": 1,
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"title_field": "title",
"track_changes": 1
}

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{agency_name}",
"autoname": "format:Missionary Agency {#}",
"creation": "2025-10-02 22:14:45.520951",
"description": "Missionary support entities that aid in the sending of missionaries",
"doctype": "DocType",
@ -83,7 +83,7 @@
"link_fieldname": "agency"
}
],
"modified": "2025-10-22 23:54:43.654970",
"modified": "2025-11-07 00:55:45.431426",
"modified_by": "Administrator",
"module": "Church Missions",
"name": "Church Missionary Agency",
@ -105,7 +105,9 @@
],
"quick_entry": 1,
"row_format": "Dynamic",
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": []
"states": [],
"title_field": "agency_name"
}

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_import": 1,
"autoname": "format:{family_name} - {####}",
"autoname": "format:Family {#}",
"creation": "2025-08-22 00:15:20.425153",
"description": "A family of people ('Church Person's) that are considered to be part of the same household. One 'Church Person' can be set to be the Head of Household for a family. ",
"doctype": "DocType",
@ -22,6 +22,7 @@
{
"fieldname": "home_address",
"fieldtype": "Link",
"in_preview": 1,
"label": "Home Address",
"options": "Address"
},
@ -38,6 +39,7 @@
"allow_in_quick_entry": 1,
"fieldname": "head_of_household",
"fieldtype": "Link",
"in_preview": 1,
"in_standard_filter": 1,
"is_virtual": 1,
"label": "Head of Household",
@ -46,6 +48,7 @@
{
"fieldname": "photo",
"fieldtype": "Attach Image",
"in_preview": 1,
"label": "Photo"
},
{
@ -62,7 +65,7 @@
"link_fieldname": "family"
}
],
"modified": "2025-09-30 00:40:03.233398",
"modified": "2025-11-07 01:05:32.117029",
"modified_by": "Administrator",
"module": "Church People",
"name": "Church Family",
@ -84,6 +87,7 @@
],
"quick_entry": 1,
"row_format": "Dynamic",
"show_preview_popup": 1,
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{role} - {#####}",
"autoname": "format:Role {#}",
"creation": "2025-08-26 22:42:20.029649",
"description": "`Church Person` roles in the church.",
"doctype": "DocType",
@ -59,7 +59,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2025-09-19 00:32:20.701494",
"modified": "2025-11-07 01:06:47.813425",
"modified_by": "Administrator",
"module": "Church People",
"name": "Church Role",
@ -71,4 +71,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
}

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_import": 1,
"autoname": "format:Prayer Request {######}",
"autoname": "format:Prayer Request {#}",
"creation": "2025-09-13 00:16:52.698863",
"description": "A request for prayer from (or for) a `Church Person`.",
"doctype": "DocType",
@ -23,6 +23,7 @@
"fieldtype": "Link",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Status",
"options": "Church Prayer Request Status",
@ -68,6 +69,7 @@
"fieldname": "is_private",
"fieldtype": "Check",
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Is Private"
},
@ -76,6 +78,7 @@
"fieldname": "type",
"fieldtype": "Link",
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Type",
"options": "Church Prayer Request Type",
@ -90,7 +93,7 @@
"table_fieldname": "topics"
}
],
"modified": "2025-10-08 23:22:32.976757",
"modified": "2025-11-07 01:03:10.094712",
"modified_by": "Administrator",
"module": "Church Prayers",
"name": "Church Prayer Request",
@ -112,6 +115,8 @@
],
"quick_entry": 1,
"row_format": "Dynamic",
"search_fields": "status,type,related_person",
"show_preview_popup": 1,
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",

View File

@ -40,7 +40,7 @@
"link_fieldname": "book"
}
],
"modified": "2025-11-06 22:50:10.882499",
"modified": "2025-11-06 23:24:23.105266",
"modified_by": "Administrator",
"module": "Church Study",
"name": "Church Bible Book",

View File

@ -20,7 +20,6 @@
"fieldtype": "Link",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Start Verse",
"options": "Church Bible Verse",
@ -31,7 +30,6 @@
"fieldtype": "Link",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "End Verse",
"options": "Church Bible Verse"
@ -45,7 +43,6 @@
"fieldtype": "Link",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Translation",
"options": "Church Bible Translation"
@ -70,10 +67,11 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-28 00:38:57.907452",
"modified": "2025-11-07 00:16:20.385882",
"modified_by": "Administrator",
"module": "Church Study",
"name": "Church Bible Reference",
"naming_rule": "By script",
"owner": "Administrator",
"permissions": [
{
@ -90,6 +88,7 @@
}
],
"row_format": "Dynamic",
"show_preview_popup": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": []

View File

@ -1,7 +1,6 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{book} {chapter}:{verse}",
"creation": "2025-09-17 21:42:32.438305",
"description": "A Bible reference to a single verse (i.e John 3:16)",
"doctype": "DocType",
@ -29,32 +28,34 @@
{
"allow_in_quick_entry": 1,
"fieldname": "chapter",
"fieldtype": "Int",
"fieldtype": "Select",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Chapter"
"label": "Chapter",
"reqd": 1
},
{
"allow_in_quick_entry": 1,
"fieldname": "verse",
"fieldtype": "Int",
"fieldtype": "Select",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Verse"
"label": "Verse",
"reqd": 1
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-28 00:18:06.577326",
"modified": "2025-11-07 00:05:41.423061",
"modified_by": "Administrator",
"module": "Church Study",
"name": "Church Bible Verse",
"naming_rule": "Expression",
"naming_rule": "By script",
"owner": "Administrator",
"permissions": [
{