Add Church Belief doctype

This commit is contained in:
meichthys 2025-09-22 03:53:54 +00:00
parent 8aa5dded3b
commit 470cde64b2
5 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// Copyright (c) 2025, meichthys and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Church Belief", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,69 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "format:{title}",
"creation": "2025-09-17 21:36:27.516552",
"description": "Specific beliefs of the church",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"title",
"belief_statement",
"bible_references"
],
"fields": [
{
"fieldname": "title",
"fieldtype": "Data",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Title",
"reqd": 1,
"unique": 1
},
{
"fieldname": "belief_statement",
"fieldtype": "Text Editor",
"in_list_view": 1,
"label": "Belief Statement",
"reqd": 1
},
{
"fieldname": "bible_references",
"fieldtype": "Table",
"label": "Bible References",
"options": "Church Bible Reference"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-09-17 23:31:17.156634",
"modified_by": "Administrator",
"module": "Church",
"name": "Church Belief",
"naming_rule": "Expression",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View File

@ -0,0 +1,9 @@
# Copyright (c) 2025, meichthys and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class ChurchBelief(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2025, meichthys and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestChurchBelief(FrappeTestCase):
pass