use field autoname format for doctypes that should have unique names

This commit is contained in:
meichthys 2026-03-05 04:26:49 +00:00
parent 9b38ff09bf
commit 5a6cd7c8e4
13 changed files with 49 additions and 44 deletions

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{type}",
"autoname": "field:type",
"creation": "2025-10-09 02:26:38.910872",
"description": "A type of `Expense` (a.k.a. Categories)",
"doctype": "DocType",
@ -73,7 +73,8 @@
"in_preview": 1,
"in_standard_filter": 1,
"label": "Type",
"reqd": 1
"reqd": 1,
"unique": 1
},
{
"description": "The fund which this type of expense will reduce",
@ -106,11 +107,11 @@
"link_fieldname": "type"
}
],
"modified": "2025-11-15 22:52:18.102093",
"modified": "2026-03-04 21:42:17.872348",
"modified_by": "Administrator",
"module": "Church Finances",
"name": "Expense Type",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"nsm_parent_field": "parent_expense_type",
"owner": "Administrator",
"permissions": [

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:Fund {#}",
"autoname": "field:fund",
"creation": "2025-09-02 01:11:30.383380",
"description": "Financial funds of the church (i.e. General, Trust, etc).",
"doctype": "DocType",
@ -23,7 +23,8 @@
"fieldtype": "Data",
"in_list_view": 1,
"label": "Name",
"reqd": 1
"reqd": 1,
"unique": 1
},
{
"allow_in_quick_entry": 1,
@ -76,11 +77,11 @@
"table_fieldname": "donations"
}
],
"modified": "2025-11-15 22:52:49.198523",
"modified": "2026-03-04 21:36:25.539414",
"modified_by": "Administrator",
"module": "Church Finances",
"name": "Fund",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{type}",
"autoname": "field:type",
"creation": "2025-09-02 01:03:03.764617",
"description": "The type of payment used for `Donation`s (i.e. Cash, Check, etc)",
"doctype": "DocType",
@ -18,7 +18,8 @@
"fieldtype": "Data",
"in_list_view": 1,
"label": "Type of Payment",
"reqd": 1
"reqd": 1,
"unique": 1
},
{
"allow_in_quick_entry": 1,
@ -37,11 +38,11 @@
"table_fieldname": "donations"
}
],
"modified": "2025-11-13 23:57:46.638425",
"modified": "2026-03-04 21:42:32.839660",
"modified_by": "Administrator",
"module": "Church Finances",
"name": "Payment Type",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:Belief {#}",
"autoname": "field:title",
"creation": "2025-09-17 21:36:27.516552",
"description": "Specific beliefs of the church",
"doctype": "DocType",
@ -50,11 +50,11 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2026-02-19 00:45:58.469531",
"modified": "2026-03-04 21:40:03.305159",
"modified_by": "Administrator",
"module": "Church Foundations",
"name": "Belief",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,6 +1,6 @@
{
"actions": [],
"autoname": "format:{type}",
"autoname": "field:type",
"creation": "2025-09-01 00:33:34.102307",
"description": "Type of `Event Attendance` (i.e. Confirmed, Assumed, Unknown, Absent etc.)",
"doctype": "DocType",
@ -37,11 +37,11 @@
"table_fieldname": "attendance"
}
],
"modified": "2025-11-13 23:59:23.271613",
"modified": "2026-03-04 21:37:45.793117",
"modified_by": "Administrator",
"module": "Church Ministries",
"name": "Event Attendance Type",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:Event Type {#}",
"autoname": "field: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",
@ -55,11 +55,11 @@
"link_fieldname": "type"
}
],
"modified": "2025-11-15 22:57:02.207658",
"modified": "2026-03-04 21:45:29.589961",
"modified_by": "Administrator",
"module": "Church Ministries",
"name": "Event Type",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:Missionary Agency {#}",
"autoname": "field:agency_name",
"creation": "2025-10-02 22:14:45.520951",
"description": "Missionary support entities that aid in the sending of missionaries",
"doctype": "DocType",
@ -73,7 +73,8 @@
"in_preview": 1,
"in_standard_filter": 1,
"label": "Agency Name",
"reqd": 1
"reqd": 1,
"unique": 1
}
],
"grid_page_length": 50,
@ -84,11 +85,11 @@
"link_fieldname": "agency"
}
],
"modified": "2025-11-15 22:54:24.063990",
"modified": "2026-03-04 21:41:42.841040",
"modified_by": "Administrator",
"module": "Church Missions",
"name": "Missionary Agency",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{frequency}",
"autoname": "field:frequency",
"creation": "2025-10-02 21:51:33.814292",
"description": "How often `Missionary` support is given",
"doctype": "DocType",
@ -36,11 +36,11 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-11-15 22:54:40.556718",
"modified": "2026-03-04 21:41:24.242011",
"modified_by": "Administrator",
"module": "Church Missions",
"name": "Missionary Support Frequency",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_import": 1,
"autoname": "format:{relation_type}",
"autoname": "field:relation_type",
"creation": "2025-08-25 21:30:15.393857",
"description": "The type of relationship between two `Person`s",
"doctype": "DocType",
@ -38,11 +38,11 @@
"table_fieldname": "relationships"
}
],
"modified": "2025-11-15 22:55:00.261062",
"modified": "2026-03-04 21:43:28.465430",
"modified_by": "Administrator",
"module": "Church People",
"name": "Person Relation Type",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{status}",
"autoname": "field:status",
"creation": "2025-09-13 00:46:26.348653",
"description": "The state of a prayer request. (i.e. Requested, Answered, etc)",
"doctype": "DocType",
@ -32,11 +32,11 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-11-15 22:55:34.948117",
"modified": "2026-03-04 21:40:50.818282",
"modified_by": "Administrator",
"module": "Church Prayers",
"name": "Prayer Request Status",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -1,7 +1,7 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{type}",
"autoname": "field:type",
"creation": "2025-09-13 01:12:32.154287",
"description": "The kind of prayer request (i.e. Praise, Health, Salvation, etc.)",
"doctype": "DocType",
@ -33,11 +33,11 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-11-15 22:56:08.171517",
"modified": "2026-03-04 21:41:05.144241",
"modified_by": "Administrator",
"module": "Church Prayers",
"name": "Prayer Request Type",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -2,7 +2,7 @@
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"autoname": "format:{book}",
"autoname": "field:book",
"creation": "2025-09-17 21:56:11.028021",
"description": "Books of the Bible",
"doctype": "DocType",
@ -21,7 +21,8 @@
"in_preview": 1,
"in_standard_filter": 1,
"label": "Book",
"reqd": 1
"reqd": 1,
"unique": 1
},
{
"fieldname": "abbreviation",
@ -41,11 +42,11 @@
"link_fieldname": "book"
}
],
"modified": "2025-11-15 22:56:27.649435",
"modified": "2026-03-04 21:38:54.711235",
"modified_by": "Administrator",
"module": "Church Study",
"name": "Bible Book",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{

View File

@ -2,7 +2,7 @@
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"autoname": "format:{translation}",
"autoname": "field:translation",
"creation": "2025-09-17 23:06:44.746941",
"doctype": "DocType",
"documentation": "/app/manual%3A-study",
@ -37,11 +37,11 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-11-15 22:56:50.550989",
"modified": "2026-03-04 21:38:31.339238",
"modified_by": "Administrator",
"module": "Church Study",
"name": "Bible Translation",
"naming_rule": "Expression",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{